Skip to content

Commit 1e6b1fa

Browse files
committed
Build docs in Python 3.11 on readthedocs
Closes #389
1 parent 0ac1e11 commit 1e6b1fa

File tree

2 files changed

+15
-10
lines changed

2 files changed

+15
-10
lines changed

.readthedocs.yml

Lines changed: 14 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,26 @@
11
version: 2
22

3+
# Set the OS, Python version and other tools you might need
4+
build:
5+
os: ubuntu-22.04
6+
tools:
7+
python: "3.11"
8+
39
# Build documentation in the docs/ directory with Sphinx
410
sphinx:
511
configuration: docs/conf.py
612

7-
# Build documentation with MkDocs
8-
#mkdocs:
9-
# configuration: mkdocs.yml
10-
11-
# Optionally build your docs in additional formats such as PDF
12-
formats:
13-
- pdf
13+
# Optionally build your docs in additional formats such as PDF and ePub
14+
# formats:
15+
# - pdf
16+
# - epub
1417

15-
# Optionally set the version of Python and requirements required to build your docs
18+
# Optional but recommended, declare the Python requirements required
19+
# to build your documentation
20+
# See https://docs.readthedocs.io/en/stable/guides/reproducible-builds.html
1621
python:
17-
version: 3.8
1822
install:
1923
- method: pip
2024
path: .
2125
extra_requirements:
22-
- docs
26+
- docs

docs/changes/389.misc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Build docs in Python 3.11 on readthedocs

0 commit comments

Comments
 (0)