]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Docs: Upgrade to Sphinx 7.3 (#118397)
authorHugo van Kemenade <1324225+hugovk@users.noreply.github.com>
Mon, 29 Apr 2024 17:40:50 +0000 (20:40 +0300)
committerGitHub <noreply@github.com>
Mon, 29 Apr 2024 17:40:50 +0000 (11:40 -0600)
.github/workflows/reusable-docs.yml
Doc/requirements.txt

index 9e26d7847d2bd33d295e704d7c32f2491025d904..fd519d60f324ab8b4a6ae0a3fa4a95bc64f8f25a 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="-q -n -W --keep-going -w sphinx-warnings.txt" html
+        make -C Doc/ PYTHON=../python SPHINXOPTS="--quiet --nitpicky --fail-on-warning --keep-going --warning-file sphinx-warnings.txt" html
     - name: 'Check warnings'
       if: github.event_name == 'pull_request'
       run: |
index 118e6c322b4be2bc4e169eb132df6bd226efb2ca..15675ab45fea71324df32fe4c07cae53b506972b 100644 (file)
@@ -6,7 +6,7 @@
 # Sphinx version is pinned so that new versions that introduce new warnings
 # won't suddenly cause build failures. Updating the version is fine as long
 # as no warnings are raised by doing so.
-sphinx~=7.2.0
+sphinx~=7.3.0
 
 blurb