Skip to content

Split AutoDoc() option docs into subsections - #389

Merged
fingolfin merged 1 commit into
masterfrom
mh-ai/autodoc-optrec-docs
Nov 10, 2026
Merged

fingolfin merged 1 commit into
masterfrom
mh-ai/autodoc-optrec-docs

Conversation

@fingolfin

Copy link
Copy Markdown
Member

The options record of AutoDoc() was documented as one list nested up
to four levels deep, which was hard to read and offered no anchors
for linking to individual options. Each group of options now gets its
own subsection after the AutoDoc() ManSection, which keeps a short
overview with cross references.

Also drop the documentation of autodoc.level, which has had no effect
since the leveling code was removed, and consistently use the name
optrec instead of opt.

Fixes #381

Assisted-by: Generative AI

The options record of AutoDoc() was documented as one list nested up
to four levels deep, which was hard to read and offered no anchors
for linking to individual options. Each group of options now gets its
own subsection after the AutoDoc() ManSection, which keeps a short
overview with cross references.

Also drop the documentation of autodoc.level, which has had no effect
since the leveling code was removed, and consistently use the name
optrec instead of opt.

Fixes #381

Assisted-by: Generative AI
@fingolfin fingolfin changed the title doc: Split AutoDoc() option docs into subsections Split AutoDoc() option docs into subsections Nov 10, 2026
@fingolfin
fingolfin force-pushed the mh-ai/autodoc-optrec-docs branch from 5ef2669 to 302b5be Compare November 10, 2026 17:15
@fingolfin
fingolfin enabled auto-merge (squash) November 10, 2026 17:16
@codecov

codecov Bot commented Nov 10, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 93.00%. Comparing base (fe784fd) to head (302b5be).
⚠️ Report is 1 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #389   +/-   ##
=======================================
  Coverage   93.00%   93.00%           
=======================================
  Files          15       15           
  Lines        3144     3144           
=======================================
  Hits         2924     2924           
  Misses        220      220           
Files with missing lines Coverage Δ
gap/Magic.gd 100.00% <100.00%> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@fingolfin
fingolfin merged commit f91e181 into master Nov 10, 2026
5 checks passed
@fingolfin
fingolfin deleted the mh-ai/autodoc-optrec-docs branch November 10, 2026 17:18
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.

Make the nested documentation of AutoDoc() more readable

1 participant