Skip to content

Commit 52fbafb

Browse files
Fix Readthedocs
1 parent 862147c commit 52fbafb

File tree

2 files changed

+27
-0
lines changed

2 files changed

+27
-0
lines changed

.readthedocs.yaml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
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+
version: 2
6+
7+
build:
8+
os: ubuntu-22.04
9+
tools:
10+
python: "3"
11+
12+
# Build documentation in the docs/ directory with Sphinx
13+
sphinx:
14+
configuration: doc/conf.py
15+
16+
# If using Sphinx, optionally build your docs in additional formats such as PDF
17+
# formats:
18+
# - pdf
19+
20+
# Optionally declare the Python requirements required to build your docs
21+
python:
22+
install:
23+
- method: pip
24+
path: .
25+
- requirements: doc/requirements.txt

doc/requirements.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
sphinx
2+
sphinx-autodoc-typehints

0 commit comments

Comments
 (0)