Skip to content

Commit 693cd48

Browse files
committed
docs: Use .readthedocs.yaml to configure the build
1 parent 5225b3e commit 693cd48

File tree

2 files changed

+32
-6
lines changed

2 files changed

+32
-6
lines changed

.readthedocs.yaml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
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.7"
13+
# You can also specify other tool versions:
14+
# nodejs: "19"
15+
# rust: "1.64"
16+
# golang: "1.19"
17+
18+
# Build documentation in the docs/ directory with Sphinx
19+
sphinx:
20+
configuration: docs/conf.py
21+
22+
# If using Sphinx, optionally build your docs in additional formats such as PDF
23+
formats: []
24+
# - pdf
25+
26+
# Optionally declare the Python requirements required to build your docs
27+
python:
28+
install:
29+
- method: pip
30+
path: .
31+
extra_requirements:
32+
- docs

constraints.txt

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,3 @@ flake8==5.0.2
55
objgraph==3.5.0
66
pytest==6.2.5
77
pytest-cov==3.0.0
8-
9-
# Documentation building.
10-
Jinja2==2.7.3
11-
Pygments==1.6
12-
Sphinx==1.2.2
13-
docutils==0.12

0 commit comments

Comments
 (0)