Fail early if warning in doc build
This commit is contained in:
parent
042b8e4046
commit
e90b300c3b
2 changed files with 6 additions and 3 deletions
|
|
@ -34,12 +34,11 @@ jobs:
|
||||||
cd docs/
|
cd docs/
|
||||||
make install
|
make install
|
||||||
|
|
||||||
# fail early here
|
# fail early here, run quickstrict with aborts also on warnings
|
||||||
- name: Quick-test docs (no autodocs)
|
- name: Quick-test docs (no autodocs)
|
||||||
continue-on-error: true
|
|
||||||
run: |
|
run: |
|
||||||
cd docs/
|
cd docs/
|
||||||
make quick
|
make quickstrict
|
||||||
|
|
||||||
# full game dir needed for mv-local
|
# full game dir needed for mv-local
|
||||||
- name: Set up evennia game dir
|
- name: Set up evennia game dir
|
||||||
|
|
|
||||||
|
|
@ -112,6 +112,10 @@ quick:
|
||||||
@echo "Documentation built (single version, no autodocs)."
|
@echo "Documentation built (single version, no autodocs)."
|
||||||
@echo "To see result, open evennia/docs/build/html/index.html in a browser."
|
@echo "To see result, open evennia/docs/build/html/index.html in a browser."
|
||||||
|
|
||||||
|
# abort on warnings too
|
||||||
|
quickstrict:
|
||||||
|
SPHINXOPTS=-W make quick
|
||||||
|
|
||||||
local:
|
local:
|
||||||
make _check-env
|
make _check-env
|
||||||
make clean
|
make clean
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue