-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.readthedocs.yaml
31 lines (28 loc) · 997 Bytes
/
.readthedocs.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
version: 2
build:
os: "ubuntu-22.04"
tools:
python: "3.10"
jobs:
post_install:
- pip install poetry
# Tell poetry to not use a virtual environment
# Install dependencies with 'docs' dependency group
# https://python-poetry.org/docs/managing-dependencies/#dependency-groups
- poetry export -f requirements.txt --without-hashes --without-urls --with docs -o requirements.txt
- pip install -e . -r requirements.txt
#- pip list
#post_create_environment:
# # Install poetry
# # https://python-poetry.org/docs/#installing-manually
# - pip install poetry
# # Tell poetry to not use a virtual environment
# - poetry config virtualenvs.create false
# post_install:
# # Install dependencies with 'docs' dependency group
# # https://python-poetry.org/docs/managing-dependencies/#dependency-groups
# - poetry install --with docs
sphinx:
configuration: docs/conf.py
submodules:
include: all