Skip to content

docs: add a documentation index that links every guide, and point the README at it - #2300

Merged
lagergren merged 3 commits into
redhat-developer:mainfrom
lagergren:docs/documentation-index
Nov 27, 2026
Merged

lagergren merged 3 commits into
redhat-developer:mainfrom
lagergren:docs/documentation-index

Conversation

@lagergren

@lagergren lagergren commented Nov 27, 2026 •

Copy link
Copy Markdown
Collaborator

What

docs/README.md, a new starting point for the manuals:

  • what LSP4IJ is, and who each guide is for: users, template authors and plugin developers;
  • a "Where to start" table, from a task (add a language server without a plugin, debug a program, integrate a language server in a plugin, ...) to the guide to read;
  • every guide, with a line on what it covers, grouped as Using LSP4IJ, Writing templates and installers, Developing a plugin with LSP4IJ, What is supported, and Contributing to LSP4IJ;
  • the pages of the 33 language server templates and the 10 debug adapter templates, each with what it is for (the language, or the files it serves, taken from the template's mappings);
  • a note that the README.md of a template folder is what the New Language Server dialog shows with its help icon, and isn't part of the manuals.

docs/dap/README.md, a landing page for the dap folder, which holds a user guide, a developer guide and a support page as docs does: what the DAP support is, the three guides with the same lines as the index, and a link to the index for the template pages, which it doesn't list a third time. The index links it from its Debug adapters section.

README.md:

  • an introduction paragraph at the top that points at the index;
  • the list of guides in the plugin description starts with the index, and gains the pages of the templates. The build turns these links into GitHub URLs in the Marketplace description, as for the other guides: ./gradlew patchPluginXml gives https://github.com/redhat-developer/lsp4ij/blob/main/docs/README.md and ...docs/README.md#language-server-templates;
  • the Contributing section links CONTRIBUTING.md (the Developer Certificate of Origin), which nothing linked before, and how to contribute a template.

Renamed, so that every page of docs/ is named with hyphens:

Before After
docs/user-defined-ls/ada_language_server.md docs/user-defined-ls/ada-language-server.md
docs/images/user-defined-ls/ada_language_server/ docs/images/user-defined-ls/ada-language-server/
docs/user-defined-ls/cpp_ls.md docs/user-defined-ls/cpp-ls.md

The ids of the two templates stay ada_language_server and cpp_ls: they name the folder under ~/.lsp4ij/lsp that the installers install into, so changing them would install the servers again in a new folder. No template's url links these pages. A link to the old page names from outside the repository no longer works, since GitHub doesn't redirect a renamed file.

The three commits are separate changes, so this PR is for a rebase merge.

Checks

Every relative link and #anchor of both files resolves, by GitHub's heading slugs; so do those of every other guide in docs/.

… README at it

docs/README.md is the starting point of the manuals. It says what LSP4IJ
is and who each guide is for (users, template authors and plugin
developers), with a table of where to start for each task. It links every
guide with a line on what it covers, the pages of the 33 language server
and 10 debug adapter templates with what each one is for, the reference
of templates and installers, the LSP and DAP support pages, and how to
build LSP4IJ and contribute to it.

The README gets an introduction paragraph that points at the index, and
the list of guides in its plugin description starts with it and the pages
of the templates; the build turns those links into GitHub URLs in the
Marketplace description. Its Contributing section now links
CONTRIBUTING.md, which was linked from nowhere, and how to contribute a
template.
@coderabbitai

coderabbitai Bot commented Nov 27, 2026 •

Copy link
Copy Markdown

Warning

Review limit reached

This review ran on the open-source allowance, not this organization's plan, because the pull request author doesn't have an assigned seat. Waiting won't change this — ask an organization admin to assign them a seat, or add seats in Billing if every seat is already assigned, then retry.

Next included review available in 36 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used all 2 included reviews currently available.

Learn how review limits work.

Review configuration:

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 12558165-a51b-403d-9bf9-2aa90a928e3b
Commits

Reviewing files that changed from the base of the PR and between 5c3102a and e531d25.

Files selected for processing: 2

  • docs/README.md
  • docs/dap/README.md

No actionable comments were generated in the recent review.

Summary

Summary by CodeRabbit

  • Documentation
    • Added a documentation index linking to LSP and DAP manuals, setup and development guides, support resources, and contribution instructions.
    • Updated the README to link to the documentation index and highlight key guides and templates.
    • Added contribution guidance covering the Developer Certificate of Origin and template contributions.
    • Corrected links to the Ada and C++ language-server guides and updated references to Ada guide images.

The README now links to a documentation index and adds contribution guidance. The new index organizes LSP4IJ documentation. The language-server guide updates Ada and Cpp template links, and the Ada guide updates image references.

Changes: Documentation navigation and references

Layer / File(s) Summary
Documentation index and entry points
README.md, docs/README.md
The README links to the new index. The index links to LSP4IJ guides and reference pages.
Contribution guidance
README.md
The README adds a Developer Certificate of Origin requirement and links to template contribution instructions.
Template links and image references
docs/UserDefinedLanguageServer.md, docs/user-defined-ls/ada-language-server.md
The language-server guide updates the Ada and Cpp template links. The Ada guide updates image directory references.

Estimated code review effort: 2 (Simple) | ~8 minutes

Change: Other

Suggested reviewers: angelozerr

Merge Risk: Minimal · previous review 5c310 · assessed changes only

Path filters excluded changed files. This rating applies only to the assessed changes.

Pre-merge checks: Passed 4

Check name Status Explanation
Title check Passed The title says the PR adds a documentation index that links every guide and points the README at it. The raw summary confirms a new docs/README.md index and README.md updates pointing to it, plus the …
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Description check Passed The description covers the changeset in detail. It explains the new docs/README.md index and the new docs/dap/README.md landing page. It also covers the root README.md changes (intro paragraph, guide …
Full details: Title check

Explanation

The title says the PR adds a documentation index that links every guide and points the README at it. The raw summary confirms a new docs/README.md index and README.md updates pointing to it, plus the Ada/C++ template page link renames. The title matches the main change. It omits the Ada/C++ renames and the contribution note, which is acceptable.

Full details: Description check

Explanation

The description covers the changeset in detail. It explains the new docs/README.md index and the new docs/dap/README.md landing page. It also covers the root README.md changes (intro paragraph, guide links, CONTRIBUTING.md link) and the renaming of the Ada and C++ pages and the Ada image folder to hyphenated names. It states that template IDs stay unchanged and why. It is specific and related to the raw summary, so the description is not off-topic or vague.

Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: d4eabe3f-6071-42e2-a4dc-223fb9e4cfed
Commits

Reviewing files that changed from the base of the PR and between 47a2180 and 5c3102a.

Files ignored due to path filters: 5

  • docs/images/user-defined-ls/ada-language-server/demo_ls.gif is excluded by !**/*.gif
  • docs/images/user-defined-ls/ada-language-server/installer_tab.png is excluded by !**/*.png
  • docs/images/user-defined-ls/ada-language-server/language_server_installing.png is excluded by !**/*.png
  • docs/images/user-defined-ls/ada-language-server/new_language_server_dialog.png is excluded by !**/*.png
  • docs/images/user-defined-ls/ada-language-server/open_file.png is excluded by !**/*.png
Files selected for processing: 4

  • docs/README.md
  • docs/UserDefinedLanguageServer.md
  • docs/user-defined-ls/ada-language-server.md
  • docs/user-defined-ls/cpp-ls.md
Files skipped from review as they are similar to previous changes: 1

  • docs/README.md

Included review availability: This review used your included allowance. Your plan provides up to 2 included reviews per hour; 0 remain after this review.

…, as all the other template pages are

ada_language_server.md, its image folder and cpp_ls.md were the only pages
of docs/ named with underscores, after the ids of their templates. They are
now ada-language-server.md, images/user-defined-ls/ada-language-server/ and
cpp-ls.md, and the links of the documentation index, the list of templates
in UserDefinedLanguageServer.md and the images of the Ada page follow.

The ids of the templates don't change: they name the folder under
~/.lsp4ij/lsp that the installers install into. The pages still call the
executables and repositories ada_language_server and cpp_ls, which are
their names.
docs/dap holds a user guide, a developer guide and a support page, as
docs does, and GitHub shows its README.md when the folder is opened.
The page says what the DAP support is, links the three guides with the
same lines as the documentation index, and points at the index for the
pages of the debug adapter templates, which it doesn't list again: the
index and the Templates section of the DAP user guide already do. The
index links the page from its Debug adapters section.
@lagergren lagergren added this to the 0.30.2 milestone Nov 27, 2026
@lagergren

Copy link
Copy Markdown
Collaborator Author

@coderabbitai review

The last commit, e531d25 (docs/dap/README.md and one line of docs/README.md), came in while your review of 5c3102a was running, so it hasn't been reviewed yet.

@coderabbitai

coderabbitai Bot commented Nov 27, 2026 •

Copy link
Copy Markdown
Action not completed

Review rate limited.

Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.

@lagergren
lagergren merged commit a900e49 into redhat-developer:main Nov 27, 2026
8 checks passed
lagergren added a commit that referenced this pull request Nov 27, 2026
…t changes only documentation, as for a pull request (#2309)

Part of #2298: a push to main that changes only documentation skips the
tests and the plugin verification, as a pull request of documentation
only already does.

## Why

`changes.yml` listed the files of a pull request only, so every push to
main ran the whole test matrix and the verification against every IDE
release, also for documentation only: the code of the commit before,
which its own push had tested. The main push of #2300 (docs only) held
two macOS runners of the organization's short pool in the queue for over
100 minutes, ahead of the pull requests behind it.

## What

- **`changes.yml`:** on a push, the compare API lists the files of the
whole range `before...after`, so that the several commits of a rebase
merge count together. It is documentation only when every file is under
`docs/` or a Markdown file at the root, as for a pull request.
- **Still runs everything:** a push without a previous commit (the first
of a branch), one whose range isn't only new commits (`status` other
than `ahead`, as a rewritten history), and one of 300 files or more,
which the API may cut.
- **Build Plugin zip** still runs on every push: the plugin's
description comes from `README.md`.
- The `changes` jobs of `ci.yml` and `IJ.yml` get `contents: read`, for
the compare API.

## Checked

The step, run locally against main's history:

| Push | Result |
|---|---|
| `10a04d91..a900e49`, #2300 (docs) | documentation only |
| `ff1902e1..10a04d9`, #2289 (code) | runs everything |
| `e25c0382..a900e49`, three merges at once | runs everything |
| `01058929..e25c038`, #2294's rebase merge (docs and a template) |
runs everything |
| `0000…..a900e49`, a new branch | runs everything |
| `4f30741e..a900e49`, a diverged range | runs everything |
| pull requests #2300 / #2302 | documentation only / runs everything, as
before |

actionlint passes on the three workflows, and the branch merges cleanly
with #2308. The push path itself runs only on main, so the first
docs-only push after this merge is its real test.
lagergren added a commit that referenced this pull request Nov 27, 2026
…or two of the organization's scarce macOS runners (#2308)

Reverts the CI part of 66b9f9b (#2291): macOS runs as one job, `Test
(macos-latest)`, with all the test classes, as before. Part of #2298.

## Why

Since about 16:00 CET on 2026-11-26, every macOS job waits for a runner
of the organization's shared pool, single jobs as long as the halves:

| When (CET) | Job | Waited |
|---|---|---|
| 11-26 18:53 | single, #2294 | 45 min |
| 11-26 20:03 | single, #2289 | 69 min |
| 11-26 20:03 | halves, #2297 | 74 and 66 min |
| 11-27 10:10 | halves, main push of #2300 | 105 and 102 min |
| 11-27 11:24 | halves, #2303 | 38 min, the other still waiting |

From 2026-11-21 to that afternoon, ~375 macOS jobs all started within
1.2 minutes.

With the pool short, the two halves get a runner at different times (17
and 46 minutes, 7 and 16, 38 and still waiting), so a pull request waits
for the later one, and each run takes two slots of the pool. The split
saved about 7 minutes of an 18-minute job.

## What

- `ci.yml`: the macOS matrix entry, the job name, the artifact name and
the Gradle cache settings are as before #2291. Linux and Windows keep
`-PtestForks=3`.
- `-PtestShard=<k>/<n>` stays in the build, unused by CI.

#2298 has the rest: macOS only on main and in the nightly, and none for
a push of docs only.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant