Fail early if warning in doc build

This commit is contained in:
Griatch 2020-09-19 18:32:42 +02:00
parent 042b8e4046
commit e90b300c3b
2 changed files with 6 additions and 3 deletions

View file

@ -34,12 +34,11 @@ jobs:
cd docs/
make install
# fail early here
# fail early here, run quickstrict with aborts also on warnings
- name: Quick-test docs (no autodocs)
continue-on-error: true
run: |
cd docs/
make quick
make quickstrict
# full game dir needed for mv-local
- name: Set up evennia game dir

View file

@ -112,6 +112,10 @@ quick:
@echo "Documentation built (single version, no autodocs)."
@echo "To see result, open evennia/docs/build/html/index.html in a browser."
# abort on warnings too
quickstrict:
SPHINXOPTS=-W make quick
local:
make _check-env
make clean