summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2024-04-29 17:58:06 (GMT)
committerGitHub <noreply@github.com>2024-04-29 17:58:06 (GMT)
commit0a1bed102b1f303de971b6cfa926d2892b94e47f (patch)
tree9aba5fef1e8c743f3740be942826a6961c103496
parent3989894a396c8c2abc78fcd8758542eed0f68912 (diff)
downloadcpython-0a1bed102b1f303de971b6cfa926d2892b94e47f.zip
cpython-0a1bed102b1f303de971b6cfa926d2892b94e47f.tar.gz
cpython-0a1bed102b1f303de971b6cfa926d2892b94e47f.tar.bz2
[3.12] Docs: Upgrade to Sphinx 7.3 (GH-118397) (#118400)
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
-rw-r--r--.github/workflows/reusable-docs.yml2
-rw-r--r--Doc/requirements.txt2
2 files changed, 2 insertions, 2 deletions
diff --git a/.github/workflows/reusable-docs.yml b/.github/workflows/reusable-docs.yml
index 9e26d78..fd519d6 100644
--- a/.github/workflows/reusable-docs.yml
+++ b/.github/workflows/reusable-docs.yml
@@ -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: |
diff --git a/Doc/requirements.txt b/Doc/requirements.txt
index 118e6c3..15675ab 100644
--- a/Doc/requirements.txt
+++ b/Doc/requirements.txt
@@ -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