Skip to content

Commit 40f08f2

Browse files
committed
ci: Add ReadTheDocs configuration
1 parent 00bd9af commit 40f08f2

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

.readthedocs.yaml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# Read the Docs configuration file for Sphinx projects.
2+
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for
3+
# details.
4+
5+
# Required.
6+
version: 2
7+
8+
# Set the OS, Python version, and other tools you need.
9+
build:
10+
os: "ubuntu-22.04"
11+
tools:
12+
python: "3.12"
13+
14+
# Build documentation in the "doc/" directory with Sphinx.
15+
sphinx:
16+
fail_on_warning: true
17+
configuration: doc/source/conf.py
18+
19+
# Declare Python requirements for building the documentation.
20+
python:
21+
install:
22+
- method: pip
23+
path: .
24+
- requirements: requirements.txt
25+
- requirements: doc/requirements.txt

0 commit comments

Comments
 (0)