build(docs): Missed Sphinx issues, fail on warn

It would be nice to have these failures in CI. Is there a way to get the ReadTheDocs
integration to use these options?
This commit is contained in:
Ross Patterson 2025-08-15 16:19:12 -07:00
parent c43baf6d9a
commit d1fb4bdcda
No known key found for this signature in database
GPG key ID: 2EFF7CCE6828E359

View file

@ -63,7 +63,7 @@ executable: clean
mv dist/ytdl-sub dist/ytdl-sub${EXEC_SUFFIX}
docs:
REGENERATE_DOCS=1 pytest tests/unit/docgen/test_docgen.py
sphinx-build -M html docs/source/ docs/build/
sphinx-build --fail-on-warning --nitpicky -b html docs/source/ docs/build/
clean:
rm -rf \
.pytest_cache/ \