From 56acfe6b8d4f377f149b56dcf1ab10c0b793f639 Mon Sep 17 00:00:00 2001 From: Manuel Kaufmann Date: Mon, 2 Mar 2026 15:33:20 +0100 Subject: [PATCH 1/4] Build with `-j auto` --- .readthedocs.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.readthedocs.yml b/.readthedocs.yml index ef6e7a7eb9..7aa960fc00 100644 --- a/.readthedocs.yml +++ b/.readthedocs.yml @@ -13,6 +13,12 @@ build: os: ubuntu-lts-latest tools: python: "3.14" + jobs: + build: + html: + # Command copied from + # https://github.com/python/python-docs-es/blob/3.14/.github/workflows/main.yml#L94 + - sphinx-build -j auto -W --keep-going -b html -d cpython/Doc/_build/doctree -D language=es . $READTHEDOCS_OUTPUTDIR/html # Optionally set the version of Python and requirements required to build your docs From 7d79faea9336ef304d986db0c99f452350491291 Mon Sep 17 00:00:00 2001 From: Manuel Kaufmann Date: Mon, 2 Mar 2026 16:33:26 +0100 Subject: [PATCH 2/4] Update env variable --- .readthedocs.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.readthedocs.yml b/.readthedocs.yml index 7aa960fc00..dee699cb99 100644 --- a/.readthedocs.yml +++ b/.readthedocs.yml @@ -18,7 +18,7 @@ build: html: # Command copied from # https://github.com/python/python-docs-es/blob/3.14/.github/workflows/main.yml#L94 - - sphinx-build -j auto -W --keep-going -b html -d cpython/Doc/_build/doctree -D language=es . $READTHEDOCS_OUTPUTDIR/html + - sphinx-build -j auto -W --keep-going -b html -d cpython/Doc/_build/doctree -D language=es . $READTHEDOCS_OUTPUT/html # Optionally set the version of Python and requirements required to build your docs From 60f397771405912bbfbd4d655dac1bee007065c3 Mon Sep 17 00:00:00 2001 From: Manuel Kaufmann Date: Mon, 2 Mar 2026 17:02:35 +0100 Subject: [PATCH 3/4] Use the same image than on GHA --- .readthedocs.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.readthedocs.yml b/.readthedocs.yml index dee699cb99..b72296adf3 100644 --- a/.readthedocs.yml +++ b/.readthedocs.yml @@ -10,7 +10,7 @@ sphinx: configuration: conf.py build: - os: ubuntu-lts-latest + os: ubuntu-22.04 tools: python: "3.14" jobs: From f55a48d34475da453ee2f6008768957c2eb9a2bd Mon Sep 17 00:00:00 2001 From: Manuel Kaufmann Date: Tue, 3 Mar 2026 12:56:47 +0100 Subject: [PATCH 4/4] Apply suggestion from @humitos --- .readthedocs.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.readthedocs.yml b/.readthedocs.yml index b72296adf3..a5f9794c3d 100644 --- a/.readthedocs.yml +++ b/.readthedocs.yml @@ -10,7 +10,7 @@ sphinx: configuration: conf.py build: - os: ubuntu-22.04 + os: ubuntu-24.04 tools: python: "3.14" jobs: