Skip to content

Commit 6d4a519

Browse files
committed
ReadTheDocs now requires a configuration file
1 parent 95df6a0 commit 6d4a519

File tree

2 files changed

+23
-0
lines changed

2 files changed

+23
-0
lines changed

.readthedocs.yaml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# .readthedocs.yaml
2+
# Read the Docs configuration file
3+
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
4+
5+
# Required
6+
version: 2
7+
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+
14+
# Build documentation in the doc/ directory with Sphinx
15+
sphinx:
16+
configuration: doc/conf.py
17+
18+
# We recommend specifying your dependencies to enable reproducible builds:
19+
# https://docs.readthedocs.io/en/stable/guides/reproducible-builds.html
20+
python:
21+
install:
22+
- requirements: readthedocs_requirements.txt

readthedocs_requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,4 @@ uwsgi
1212
coverage==4.5.2
1313
sphinx~=3.0.0
1414
sphinx-rtd-theme
15+
jinja2<3.1

0 commit comments

Comments
 (0)