Skip to content

docs: generate server options as list-table for stable diffs (backport of #4426 to V6.2) - #4494

Merged
stevenvegt merged 2 commits into
V6.2from
backport-4426-v6.2
Sep 9, 2026
Merged

docs: generate server options as list-table for stable diffs (backport of #4426 to V6.2)#4494
stevenvegt merged 2 commits into
V6.2from
backport-4426-v6.2

Conversation

@reinkrul

@reinkrul reinkrul commented Sep 9, 2026

Copy link
Copy Markdown
Member

Backport of #4426 to V6.2.

Two rounds of conflicts, both in generated/generated-adjacent doc code, resolved without hand-merging content:

Assisted by AI

@qltysh

qltysh Bot commented Sep 9, 2026

Copy link
Copy Markdown
Contributor

Qlty


Coverage Impact

⬆️ Merging this pull request will increase total coverage on V6.2 by 0.8%.

Modified Files with Diff Coverage (2)

RatingFile% DiffUncovered Line #s
Coverage rating: F Coverage rating: A
docs/rst_table.go100.0%
Coverage rating: F Coverage rating: A
docs/generate_docs.go100.0%
Total100.0%
🚦 See full report on Qlty Cloud »

🛟 Help
  • Diff Coverage: Coverage for added or modified lines of code (excludes deleted files). Learn more.

  • Total Coverage: Coverage for the whole repository, calculated as the sum of all File Coverage. Learn more.

  • File Coverage: Covered Lines divided by Covered Lines plus Missed Lines. (Excludes non-executable lines including blank lines and comments.)

    • Indirect Changes: Changes to File Coverage for files that were not modified in this PR. Learn more.

* docs: generate server options as list-table for stable diffs

The simple-table format pads every cell to the widest value in its
column, so a single new option with a long description rewrites the
entire table (as happened in #4420, where 2 new options produced a
142-line diff). A list-table has no cross-row alignment: adding an
option is always a 3-line diff. The rendered HTML is identical,
verified by diffing Sphinx output of both formats.

Also removes a stray debug println from the generator.

Assisted-by: AI

* build: add docs-docker Makefile target for containerized Sphinx builds

The docs/Dockerfile existed but nothing referenced it. The new target
builds the documentation without requiring Python/Sphinx on the host.

Assisted-by: AI

---------

Co-authored-by: Rein Krul <info@reinkrul.nl>
(cherry picked from commit e7f8225)
Resolve module path conflicts from the /v6 module rename.

Assisted-by: AI
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.

2 participants