Skip to content

Commit 82cdbdc

Browse files
committed
doc: fix RTD build and update config
1 parent 2181e9c commit 82cdbdc

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

.readthedocs.yml

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,16 @@
55
# Required
66
version: 2
77

8+
# Set the version of Python and other tools you might need
9+
build:
10+
os: ubuntu-22.04
11+
tools:
12+
python: "3.11"
13+
jobs:
14+
# Do not use shallow clone, as reno will complain
15+
post_checkout:
16+
- git fetch --unshallow
17+
818
# Build documentation in the docs/ directory with Sphinx
919
sphinx:
1020
configuration: doc/source/conf.py
@@ -13,10 +23,6 @@ sphinx:
1323
#mkdocs:
1424
# configuration: mkdocs.yml
1525

16-
# Optionally build your docs in additional formats such as PDF
17-
formats:
18-
- pdf
19-
2026
# Optionally set the version of Python and requirements required to build your docs
2127
python:
2228
install:

0 commit comments

Comments
 (0)