Skip to content

Commit 975582f

Browse files
use Python 3.13 to build docs with Sphinx 9
1 parent 25fe17e commit 975582f

2 files changed

Lines changed: 12 additions & 6 deletions

File tree

.readthedocs.yaml

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,22 @@ formats:
1717
- pdf
1818

1919
build:
20-
os: ubuntu-22.04
20+
os: ubuntu-24.04
2121
tools:
22-
python: mambaforge-4.10
22+
python: mambaforge-latest
23+
jobs:
24+
post_checkout:
25+
- git fetch --unshallow || true
26+
- git config remote.origin.fetch '+refs/heads/*:refs/remotes/origin/*' || true
27+
- git fetch --all --tags || true
28+
pre_install:
29+
- git update-index --assume-unchanged docs/rtd_environment.yaml docs/conf.py
30+
post_install:
31+
- git describe --exact-match || towncrier build --keep
2332

2433
conda:
2534
environment: docs/rtd_environment.yaml
2635

27-
# Optionally set the version of Python and requirements required to build your docs
2836
python:
2937
install:
3038
- method: pip

docs/rtd_environment.yaml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
1-
name: rtd311
21
channels:
32
- conda-forge
4-
- defaults
53
dependencies:
6-
- python=3.11
4+
- python=3.13
75
- pip
86
- graphviz

0 commit comments

Comments
 (0)