Commit cb6ab64
docs: enforce Sphinx -W in CI + add T21 to toctree (Sphinx PR 3)
Adds a sphinx-build job to .github/workflows/docs-tests.yml that runs
make -C docs html SPHINXOPTS="-W" so warnings become build failures.
This locks in the 0-warning state PR #410 achieved and blocks any
future warning from sneaking in.
The job mirrors the RTD build (.readthedocs.yaml): Python 3.11, pandoc
apt package for nbsphinx, and the same docs extras pinned in
pyproject.toml [project.optional-dependencies.docs].
Also adds tutorials/21_had_pretest_workflow to the Tutorials: Business
Applications toctree at docs/index.rst:84. PR #409 landed this notebook
without a toctree entry; -W enforcement caught it on the local smoke
test before push.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 05c2cb4 commit cb6ab64
2 files changed
Lines changed: 34 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
81 | 81 | | |
82 | 82 | | |
83 | 83 | | |
| 84 | + | |
84 | 85 | | |
85 | 86 | | |
86 | 87 | | |
| |||
0 commit comments