File tree Expand file tree Collapse file tree 3 files changed +90
-84
lines changed Expand file tree Collapse file tree 3 files changed +90
-84
lines changed Original file line number Diff line number Diff line change 9
9
os : ubuntu-22.04
10
10
tools :
11
11
python : ' 3.11'
12
+ jobs :
13
+ post_create_environment :
14
+ # Install poetry
15
+ # https://python-poetry.org/docs/#installing-manually
16
+ - pip install poetry
17
+ - poetry self add "poetry-dynamic-versioning[plugin]"
18
+ # Tell poetry to not use a virtual environment
19
+ - poetry config virtualenvs.create false
20
+ post_install :
21
+ # Install dependencies with 'docs' dependency group
22
+ # https://python-poetry.org/docs/managing-dependencies/#dependency-groups
23
+ - poetry install --with docs
12
24
13
25
# Build documentation in the "docs/" directory with Sphinx
14
26
sphinx :
@@ -17,11 +29,3 @@ sphinx:
17
29
# Optionally build your docs in additional formats such as PDF and ePub
18
30
formats :
19
31
- htmlzip
20
-
21
- # Optional but recommended, declare the Python requirements required
22
- # to build your documentation
23
- # See https://docs.readthedocs.io/en/stable/guides/reproducible-builds.html
24
- python :
25
- install :
26
- - requirements : docs/requirements.txt
27
-
You can’t perform that action at this time.
0 commit comments