Skip to content

Commit 8e3a108

Browse files
add config for RTD
1 parent 6379951 commit 8e3a108

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

.readthedocs.yaml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
# Read the Docs configuration file
2+
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
3+
4+
# Required
5+
version: 2
6+
7+
# Set the OS, Python version, and other tools you might need
8+
build:
9+
os: ubuntu-24.04
10+
tools:
11+
python: "3.13"
12+
jobs:
13+
post_create_environment:
14+
# Install poetry
15+
- pip install poetry
16+
# Tell poetry to not use a virtual environment
17+
- poetry config virtualenvs.create false
18+
post_install:
19+
# Install dependencies
20+
- poetry install --with docs
21+
22+
# Build documentation in the "docs/" directory with Sphinx
23+
sphinx:
24+
configuration: docs/conf.py
25+
26+
# Optionally, but recommended,
27+
# declare the Python requirements required to build your documentation
28+
# See https://docs.readthedocs.io/en/stable/guides/reproducible-builds.html
29+
python:
30+
install:
31+
- requirements: docs/requirements.txt

0 commit comments

Comments
 (0)