diff --git a/.github/workflows/github_action_build_docs.yml b/.github/workflows/github_action_build_docs.yml index a3e15f71cd..5b085b9f3b 100644 --- a/.github/workflows/github_action_build_docs.yml +++ b/.github/workflows/github_action_build_docs.yml @@ -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 diff --git a/docs/Makefile b/docs/Makefile index 448f5a7a20..759a78765c 100644 --- a/docs/Makefile +++ b/docs/Makefile @@ -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