Skip to content

docs: convert two ordered lists to bullets (phase M) - #936

Merged
ocots merged 1 commit into
mainfrom
docs/ordered-lists-cross-repo
Sep 1, 2026
Merged

docs: convert two ordered lists to bullets (phase M)#936
ocots merged 1 commit into
mainfrom
docs/ordered-lists-cross-repo

Conversation

@ocots

@ocots ocots commented Sep 1, 2026

Copy link
Copy Markdown
Member

What

DocumenterVitepress mis-renders ordered lists sourced from docstrings — valid 1. 2. 3. comes out as <ol start="3">, the first item absorbed as unstyled prose glued onto the preceding paragraph. LuxDL/DocumenterVitepress.jl#150, open, no fix.

Confirmed on the built site before this change: docs/build/1/api/internals.html and docs/build/1/api/solving.html both showed the mis-render.

Fixes the two lists that live in this package's own src/ — no release or compat bump needed:

  • src/solve/dispatch.jl — the 3-step resolution-mode dispatch workflow
  • src/helpers/component_completion.jl — the 4-step component-completion workflow

Marker-only change (1. - ), no prose edits.

Context

This is the OptimalControl leg of a five-repo sweep. Phase E5 already fixed the two occurrences living directly in docs/src/ (guided tour, flows/overview.md); this closes the remainder. The same bug recurs in CTBase, CTSolvers, CTModels.jl and CTFlows.jl — both in their docstrings (transcluded here via api/*.md) and, once checked, in three of those repos' own hand-written docs/src/ guide pages too. Companion PRs open in parallel on all four.

Full plan and the complete 32-item inventory: .reports/campaign/M-ordered-list-sweep.md.

Note: api/options.md and api/qualified.md will keep showing this bug on this site until CTBase and CTSolvers release the fix and this package's [compat] is raised to reach it (both are registry-resolved dependencies) — tracked as Stage 3 of the same plan, not part of this PR.

Verified

  • Build exit 0.
  • docs/build/1/api/internals.html and docs/build/1/api/solving.html: 0 <ol start= occurrences (was 1 each).
  • Unresolved @ref/errors unchanged from baseline.

🤖 Generated with Claude Code

DocumenterVitepress mis-renders ordered lists from docstrings — valid
1./2./3. source comes out as <ol start="3">, the first item absorbed
as unstyled prose (LuxDL/DocumenterVitepress.jl#150, open, no fix).
Confirmed on the built site: docs/build/1/api/internals.html and
solving.html both showed this.

Both lists live in this package's own src/, so this fix needs no
release or compat bump — src/solve/dispatch.jl's 3-step dispatch
workflow and src/helpers/component_completion.jl's 4-step completion
workflow both become bullets.

This is the OptimalControl leg of a five-repo sweep — the same bug
recurs in CTBase, CTSolvers, CTModels.jl and CTFlows.jl docstrings
(transcluded here via the api/* pages) and, once checked, in three of
those repos' own hand-written docs/src/ guide pages too. Full plan:
.reports/campaign/M-ordered-list-sweep.md.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@ocots
ocots merged commit e63585f into main Sep 1, 2026
3 checks passed
@ocots
ocots deleted the docs/ordered-lists-cross-repo branch September 1, 2026 19:53
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