Skip to content

Fix reST nesting in the Configuration docstring (unbreaks the docs build on main) - #126

Merged
roed314 merged 1 commit into
roed314:mainfrom
roed-math:fix-config-docstring
Jul 22, 2026
Merged

Fix reST nesting in the Configuration docstring (unbreaks the docs build on main)#126
roed314 merged 1 commit into
roed314:mainfrom
roed-math:fix-config-docstring

Conversation

@roed-math

Copy link
Copy Markdown

main's docs job and the first Read the Docs build (33701778) fail with two warnings in psycodict.config.Configuration: the nested key list under defaults (rewritten in #119) has no blank lines around it, which reST parses as stray indentation. #119 and #122 were each green on their own CI — the new docstring and the warnings-as-errors build first met on main, which is exactly the regression class the -W gate exists to catch.

Two blank lines fix it; the key list now renders as a real nested list under the defaults bullet. Verified locally at main: reproduced the same two warnings, zero after the fix, ruff check . clean. Read the Docs rebuilds latest automatically once this merges.

🤖 Generated with Claude Code

The defaults key list from roed314#119 and the warnings-as-errors docs build
from roed314#122 first met when both merged: a nested bullet list needs blank
lines around it in reST, so the docs job (and the Read the Docs build)
failed on main with 'Unexpected indentation'.  Two blank lines fix it,
and the key list now renders as an actual nested list.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@roed314
roed314 merged commit 01dd850 into roed314:main Jul 22, 2026
19 checks passed
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