Skip to content

Commit 85f02ce

Browse files
committed
fix autodocs
1 parent 928dd86 commit 85f02ce

File tree

2 files changed

+10
-4
lines changed

2 files changed

+10
-4
lines changed

.readthedocs.yaml

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,18 @@ version: 2
88
build:
99
os: ubuntu-22.04
1010
tools:
11-
python: "3.9"
11+
python: "3.11"
1212

1313
# Build documentation in the docs/ directory with Sphinx
1414
sphinx:
1515
configuration: docs/conf.py
1616

17-
# Optionally declare the Python requirements required to build your docs
17+
# Optional but recommended, declare the Python requirements required
18+
# to build your documentation
19+
# See https://docs.readthedocs.io/en/stable/guides/reproducible-builds.html
1820
python:
19-
install:
20-
- requirements: docs/requirements.txt
21+
install:
22+
- requirements: docs/requirements.txt
23+
# Install our python package before building the docs
24+
- method: pip
25+
path: .

docs/requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
myst-parser
22
sphinx_rtd_theme>=3
3+
torch

0 commit comments

Comments
 (0)