Skip to content

Commit 2a4f6b4

Browse files
author
Elia Robyn Lake
committed
more RtD fixes
1 parent 09049ce commit 2a4f6b4

File tree

1 file changed

+19
-10
lines changed

1 file changed

+19
-10
lines changed

.readthedocs.yaml

Lines changed: 19 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,24 @@
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
16
version: 2
2-
sphinx:
3-
configuration: docs/conf.py
47

8+
# Set the version of Python and other tools you might need
59
build:
610
os: ubuntu-24.04
711
tools:
8-
python: "3.12"
9-
10-
python:
11-
install:
12-
- method: pip
13-
path: .
14-
extra_requirements:
15-
- docs
12+
python: "3.11"
13+
jobs:
14+
post_create_environment:
15+
# Install poetry
16+
# https://python-poetry.org/docs/#installing-manually
17+
- python -m pip install poetry
18+
post_install:
19+
# Install only dependencies
20+
# https://python-poetry.org/docs/managing-dependencies/#dependency-groups
21+
- VIRTUAL_ENV=$READTHEDOCS_VIRTUALENV_PATH poetry install
22+
# Build documentation in the docs/ directory with Sphinx
23+
sphinx:
24+
configuration: docs/conf.py

0 commit comments

Comments
 (0)