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:
parent
c43baf6d9a
commit
d1fb4bdcda
1 changed files with 1 additions and 1 deletions
2
Makefile
2
Makefile
|
|
@ -63,7 +63,7 @@ executable: clean
|
||||||
mv dist/ytdl-sub dist/ytdl-sub${EXEC_SUFFIX}
|
mv dist/ytdl-sub dist/ytdl-sub${EXEC_SUFFIX}
|
||||||
docs:
|
docs:
|
||||||
REGENERATE_DOCS=1 pytest tests/unit/docgen/test_docgen.py
|
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:
|
clean:
|
||||||
rm -rf \
|
rm -rf \
|
||||||
.pytest_cache/ \
|
.pytest_cache/ \
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue