Skip to content

Reattach the TestItemController docstring - #64

Merged
davidanthoff merged 1 commit into
mainfrom
fix-controller-docstring
Aug 19, 2026
Merged

Reattach the TestItemController docstring#64
davidanthoff merged 1 commit into
mainfrom
fix-controller-docstring

Conversation

@davidanthoff

Copy link
Copy Markdown
Member

deploy-docs has been failing on main and on every open PR:

no docs found for 'TestItemControllers.TestItemController' in `@docs` block in docs/src/julia-api.md:69-71
Cannot resolve @ref for md"[`TestItemController`](@ref)" in docs/src/jsonrpc-api.md.
Cannot resolve @ref for md"[`TestItemController`](@ref)" in docs/src/julia-api.md.
Cannot resolve @ref for md"[`TestItemController`](@ref)" in docs/src/index.md.
ERROR: LoadError: `makedocs` encountered errors [:docs_block, :cross_references]

const DEFAULT_SHUTDOWN_GRACE_SECONDS = 30.0 was added between the docstring and the struct it documents, so the docstring attached to the const and TestItemController — the package's main entry point — ended up with none.

Moving the const above the docstring puts the docstring back next to the struct. No other change.

Verified by building the docs locally: makedocs now gets all the way through RenderDocument/HTMLWriter instead of terminating on :docs_block and :cross_references. The remaining "134 docstrings not included in the manual" message is a pre-existing warning, not an error.

Merging this turns deploy-docs green on main and on #61, #62 and #63 at once.

🤖 Generated with Claude Code

`const DEFAULT_SHUTDOWN_GRACE_SECONDS` was added between the docstring and the
struct it documents, so the docstring attached to the const instead and
`TestItemController` ended up with none. `deploy-docs` has been failing on main
ever since:

    no docs found for 'TestItemControllers.TestItemController' in `@docs` block
    Cannot resolve @ref for md"[`TestItemController`](@ref)"

Moving the const above the docstring puts the docstring back next to the struct.
Verified by building the docs locally: `makedocs` now renders instead of
terminating on :docs_block and :cross_references.
@davidanthoff
davidanthoff merged commit f32aa54 into main Aug 19, 2026
11 checks passed
@davidanthoff
davidanthoff deleted the fix-controller-docstring branch August 19, 2026 17:59
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