Commit c70ce50
committed
ci(docs): Fail the docs build on Sphinx warnings
why: The docs job did not pass -W, so a warning printed and the build still
went green. That is not hypothetical: sphinx-autodoc-fastmcp raised
diagnostics through a stdlib logger that Sphinx never saw, so a build could
report a problem and exit 0. Those diagnostics now go through Sphinx's
warning stream, and without -W nothing would act on them.
what: Pass -W --keep-going through the existing sphinxopts variable, so the
justfile is unchanged and a local `just html` keeps its current behaviour.
--keep-going reports every warning in one run rather than stopping at the
first. Verified against this branch's current pin: the build passes, and it
fails when a warning is present, so the gate can actually bite.1 parent 7820b1b commit c70ce50
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
77 | | - | |
| 77 | + | |
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
| |||
0 commit comments