]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-118401: Docs: Use Sphinx short options (#118403)
authorHugo van Kemenade <1324225+hugovk@users.noreply.github.com>
Mon, 29 Apr 2024 19:41:59 +0000 (22:41 +0300)
committerGitHub <noreply@github.com>
Mon, 29 Apr 2024 19:41:59 +0000 (19:41 +0000)
.github/workflows/reusable-docs.yml

index fd519d60f324ab8b4a6ae0a3fa4a95bc64f8f25a..9e26d7847d2bd33d295e704d7c32f2491025d904 100644 (file)
@@ -55,7 +55,7 @@ jobs:
       run: |
         set -Eeuo pipefail
         # Build docs with the '-n' (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="-q -n -W --keep-going -w sphinx-warnings.txt" html
     - name: 'Check warnings'
       if: github.event_name == 'pull_request'
       run: |