Skip to content

Commit 663310f

Browse files
authored
docs: fix readthedocs release (#270)
1 parent 25ed80e commit 663310f

1 file changed

Lines changed: 12 additions & 16 deletions

File tree

readthedocs.yaml

Lines changed: 12 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,21 @@
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
61
version: 2
72

8-
# Set the version of Python and other tools you might need
93
build:
10-
os: ubuntu-22.04
4+
os: ubuntu-22.04
115
tools:
126
python: "3.11"
7+
jobs:
8+
build:
9+
html:
10+
- cd docs && make html
11+
- mkdir -p $READTHEDOCS_OUTPUT/html/
12+
- cp -r docs/build/html/. $READTHEDOCS_OUTPUT/html/
1313

14-
# Build documentation in the docs/ directory with Sphinx
1514
sphinx:
16-
configuration: docs/source/conf.py
17-
18-
# If using Sphinx, optionally build your docs in additional formats such as PDF
19-
# formats:
20-
# - pdf
15+
configuration: docs/source/conf.py
2116

22-
# Optionally declare the Python requirements required to build your docs
2317
python:
24-
install:
25-
- requirements: docs/requirements.txt
18+
install:
19+
- method: pip
20+
path: .
21+
- requirements: docs/requirements.txt

0 commit comments

Comments
 (0)