Skip to content

Commit cac4d61

Browse files
committed
Update config; Add Epub, PDF, HTMLZip formats
Update Python requirements Update intersphinx_mapping config
1 parent 5321bbb commit cac4d61

File tree

3 files changed

+15
-11
lines changed

3 files changed

+15
-11
lines changed

.readthedocs.yaml

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,20 @@
11
version: 2
2-
2+
formats:
3+
- epub
4+
- htmlzip
5+
- pdf
36
sphinx:
47
configuration: source/conf.py
58

69
build:
7-
os: "ubuntu-22.04"
10+
os: 'ubuntu-24.04'
811
tools:
9-
python: "3.11"
12+
python: '3.13'
13+
apt_packages:
14+
- texlive-latex-extra
15+
- texlive-fonts-recommended
16+
- latexmk
1017

1118
python:
1219
install:
1320
- requirements: requirements.txt
14-
15-
sphinx:
16-
configuration: source/conf.py

requirements.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
docutils==0.20.1
2-
Sphinx==7.2.6
3-
sphinx-rtd-theme==2.0.0
1+
docutils==0.22.2
2+
Sphinx==8.2.3
3+
sphinx-rtd-theme==3.0.2
44
readthedocs-sphinx-ext==2.2.5
5-
Jinja2==3.1.5
5+
Jinja2==3.1.6

source/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@
189189
# -- Options for intersphinx extension ---------------------------------------
190190

191191
# Example configuration for intersphinx: refer to the Python standard library.
192-
intersphinx_mapping = {'https://docs.python.org/': None}
192+
intersphinx_mapping = {'python': ('https://docs.python.org/3', None)}
193193

194194
# -- Options for todo extension ----------------------------------------------
195195

0 commit comments

Comments
 (0)