File tree 1 file changed +15
-5
lines changed
1 file changed +15
-5
lines changed Original file line number Diff line number Diff line change @@ -13,15 +13,23 @@ build:
13
13
post_create_environment :
14
14
# Install poetry
15
15
# https://python-poetry.org/docs/#installing-manually
16
- - pip install poetry==1.8.4
16
+ # - pip install poetry==1.8.4
17
+ - curl -sSL https://install.python-poetry.org | python3 - --version 1.8.4
18
+ # - export PATH="$HOME/.local/bin:$PATH" && poetry config virtualenvs.create false
19
+ - export PATH="$HOME/.local/bin:$PATH" && /home/docs/.local/bin/poetry config virtualenvs.create false
17
20
# Tell poetry to not use a virtual environment
18
- - poetry config virtualenvs.create false
21
+ # - poetry config virtualenvs.create false
19
22
post_install :
20
- - poetry install -E "all" --with docs
23
+ # - poetry install --with docs -E all
24
+ - /home/docs/.local/bin/poetry install --with docs -E all
25
+ commands :
26
+ # Run your docs build using Poetry; this command will run instead of the default Sphinx build.
27
+ - /home/docs/.local/bin/poetry run sphinx-build -b html docs docs/_build/html
28
+
21
29
22
30
# Build documentation in the "docs/" directory with Sphinx
23
- sphinx :
24
- configuration : docs/conf.py
31
+ # sphinx:
32
+ # configuration: docs/conf.py
25
33
# You can configure Sphinx to use a different builder, for instance use the dirhtml builder for simpler URLs
26
34
# builder: "dirhtml"
27
35
# Fail on all warnings to avoid broken references
@@ -39,3 +47,5 @@ sphinx:
39
47
# - method: pip
40
48
# path: .
41
49
# - requirements: docs/requirements.txt
50
+ python :
51
+ install : []
You can’t perform that action at this time.
0 commit comments