From 73933393b8d275fa85c53b6283f9206a88a55f47 Mon Sep 17 00:00:00 2001 From: Eric Bouchut Date: Thu, 20 Feb 2025 18:37:59 +0100 Subject: [PATCH 1/4] =?UTF-8?q?=E2=AC=86=EF=B8=8F=20Upgrade=20Project=20De?= =?UTF-8?q?pendencies?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- requirements.txt | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/requirements.txt b/requirements.txt index 8a17c8f5..e1ef4368 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,6 +1,6 @@ -Sphinx==5.3.0 +sphinx==8.2.0 sphinx-copybutton==0.5.2 -sphinx_design==0.4.1 -sphinx-rtd-theme==1.2.0 -myst-parser==1.0.0 -sphinx-notfound-page==1.0.4 +sphinx_design==0.6.1 +sphinx-rtd-theme==3.0.2 +myst-parser==4.0.1 +sphinx-notfound-page==1.1.0 From 751655c7c9d331bc385a9e482c6de9031513853e Mon Sep 17 00:00:00 2001 From: Eric Bouchut Date: Thu, 20 Feb 2025 21:08:31 +0100 Subject: [PATCH 2/4] =?UTF-8?q?=F0=9F=94=A7=20Add=20dirhtml=20Sphinx=20bui?= =?UTF-8?q?lder?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The default Sphinx builder is `html` So we must explicitly set the Sphinx builder to `dirhtml`. See: https://docs.readthedocs.com/platform/stable/config-file/v2.html#sphinx-builder --- .readthedocs.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.readthedocs.yaml b/.readthedocs.yaml index 47d3a81f..8a7b5059 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -17,6 +17,7 @@ build: # Build documentation in the docs/ directory with Sphinx sphinx: + builder: dirhtml configuration: docs/conf.py # If using Sphinx, optionally build your docs in additional formats such as PDF From 0568bd48532a618b8a8b458191b7fc55439e23c7 Mon Sep 17 00:00:00 2001 From: Eric Bouchut Date: Tue, 18 Feb 2025 18:51:33 +0100 Subject: [PATCH 3/4] =?UTF-8?q?=F0=9F=92=9A=20Upgrade=20GitHub=20Actions?= =?UTF-8?q?=20in=20the=20Documentation=20Workflow?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Upgrade GH actions: - actions/checkout to v4 from v3 - actions/setup-python@v3 to v5 from v3 - peaceiris/actions-gh-pages@v3 to v4 from v3 --- .github/workflows/documentation.yaml | 6 +++--- .readthedocs.yaml | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/documentation.yaml b/.github/workflows/documentation.yaml index 73bdd18a..f6fde5f8 100644 --- a/.github/workflows/documentation.yaml +++ b/.github/workflows/documentation.yaml @@ -6,8 +6,8 @@ jobs: docs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - uses: actions/setup-python@v3 + - uses: actions/checkout@v4 + - uses: actions/setup-python@v5 - name: Install dependencies run: | pip install -r requirements.txt @@ -15,7 +15,7 @@ jobs: run: | sphinx-build -b dirhtml docs _build - name: Deploy - uses: peaceiris/actions-gh-pages@v3 + uses: peaceiris/actions-gh-pages@v4 if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/source' }} with: publish_branch: gh-pages diff --git a/.readthedocs.yaml b/.readthedocs.yaml index 8a7b5059..7b94142e 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -7,9 +7,9 @@ version: 2 # Set the version of Python and other tools you might need build: - os: ubuntu-22.04 + os: ubuntu-24.04 tools: - python: "3.11" + python: "3.13" # You can also specify other tool versions: # nodejs: "19" # rust: "1.64" From dec2c0474aab58e3eb4e0acc749ee47ace27ff53 Mon Sep 17 00:00:00 2001 From: Eric Bouchut Date: Fri, 21 Feb 2025 11:39:15 +0100 Subject: [PATCH 4/4] =?UTF-8?q?=F0=9F=92=9A=20Set=20the=20Python=20version?= =?UTF-8?q?=20to=20use?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/documentation.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/documentation.yaml b/.github/workflows/documentation.yaml index f6fde5f8..8e89585c 100644 --- a/.github/workflows/documentation.yaml +++ b/.github/workflows/documentation.yaml @@ -8,6 +8,8 @@ jobs: steps: - uses: actions/checkout@v4 - uses: actions/setup-python@v5 + with: + python-version: 3.13 - name: Install dependencies run: | pip install -r requirements.txt