From c143e87aa249c77a6deb81573812336caef5b51c Mon Sep 17 00:00:00 2001 From: Sylvestre Ledru Date: Mon, 15 Apr 2024 14:35:48 +0000 Subject: [PATCH] Bug 1891375 - Update to sphinx 7.2.6 r=firefox-source-docs-reviewers,ahal DONTBUILD Differential Revision: https://phabricator.services.mozilla.com/D206585 --- docs/config.yml | 2 +- python/sites/docs.txt | 3 ++- taskcluster/ci/source-test/doc.yml | 2 ++ 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/docs/config.yml b/docs/config.yml index cf3cea87e9e2..dee403809422 100644 --- a/docs/config.yml +++ b/docs/config.yml @@ -123,4 +123,4 @@ fatal warnings: - "WARNING: '([^']*)' reference target not found:((?!.rst).)*$" - "WARNING: Include file '([^']*)' not found or reading it failed" -max_num_warnings: 837 +max_num_warnings: 845 diff --git a/python/sites/docs.txt b/python/sites/docs.txt index e72e0809fca1..cf90488a6003 100644 --- a/python/sites/docs.txt +++ b/python/sites/docs.txt @@ -1,5 +1,6 @@ pth:tools/lint/eslint/ -pypi:Sphinx==7.1.2 +pypi:Sphinx==7.1.2 ; python_version <= '3.8' +pypi:Sphinx==7.2.6 ; python_version > '3.8' pypi:boto3==1.33.5 pypi:fluent.pygments==1.0 pypi:livereload==2.6.3 diff --git a/taskcluster/ci/source-test/doc.yml b/taskcluster/ci/source-test/doc.yml index 3e0459f8f001..26cf219068fe 100644 --- a/taskcluster/ci/source-test/doc.yml +++ b/taskcluster/ci/source-test/doc.yml @@ -4,6 +4,7 @@ --- generate: description: Generate the Sphinx documentation + use-python: "3.11" platform: doc/opt treeherder: symbol: doc(generate) @@ -37,6 +38,7 @@ generate: upload: description: Generate and upload the Sphinx documentation + use-python: "3.11" platform: doc/opt attributes: code-review: true