From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Wed, 30 Apr 2025 16:44:00 +0000 (+0200) Subject: [3.13] Remove redundant ``--keep-going`` when running Sphinx (GH-133156) (#133214) X-Git-Tag: v3.13.4~194 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=110bec88bf09311a24447241076b16e6492a3768;p=thirdparty%2FPython%2Fcpython.git [3.13] Remove redundant ``--keep-going`` when running Sphinx (GH-133156) (#133214) Remove redundant ``--keep-going`` when running Sphinx (GH-133156) (cherry picked from commit c78216e42c7548f148708fc08cfefbcda9b3ae01) Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> --- diff --git a/.github/workflows/reusable-docs.yml b/.github/workflows/reusable-docs.yml index 79c28223ac37..657e0a6bf662 100644 --- a/.github/workflows/reusable-docs.yml +++ b/.github/workflows/reusable-docs.yml @@ -66,7 +66,7 @@ jobs: run: | set -Eeuo pipefail # Build docs with the nit-picky option; write warnings to file - make -C Doc/ PYTHON=../python SPHINXOPTS="--quiet --nitpicky --fail-on-warning --keep-going --warning-file sphinx-warnings.txt" html + make -C Doc/ PYTHON=../python SPHINXOPTS="--quiet --nitpicky --fail-on-warning --warning-file sphinx-warnings.txt" html - name: 'Check warnings' if: github.event_name == 'pull_request' run: | @@ -101,4 +101,4 @@ jobs: run: make -C Doc/ PYTHON=../python venv # Use "xvfb-run" since some doctest tests open GUI windows - name: 'Run documentation doctest' - run: xvfb-run make -C Doc/ PYTHON=../python SPHINXERRORHANDLING="--fail-on-warning --keep-going" doctest + run: xvfb-run make -C Doc/ PYTHON=../python SPHINXERRORHANDLING="--fail-on-warning" doctest