File tree Expand file tree Collapse file tree 1 file changed +17
-10
lines changed Expand file tree Collapse file tree 1 file changed +17
-10
lines changed Original file line number Diff line number Diff line change @@ -13,16 +13,23 @@ build:
13
13
tools :
14
14
python : " 3.9"
15
15
jobs :
16
- pre_install :
17
- - pip install --force-reinstall -v "markdown==3.5.2"
18
- - pip install --force-reinstall -v "mkdocs==1.5.3"
19
- - pip install --force-reinstall -v "pymdown-extensions==10.7.1"
20
- - pip install --force-reinstall -v "paginate==0.5.6"
21
- - pip install --force-reinstall -v "mkdocs-exclude>=1.0.2"
22
- - pip install --force-reinstall -v "mkdocstrings-python==1.8.0"
23
- - pip install --force-reinstall -v "mkdocs-redirects==1.2.1"
24
- - pip install --force-reinstall -v "mkdocs-material==9.5.13"
16
+ post_create_environment :
17
+ # https://browniebroke.com/blog/specify-docs-dependency-groups-with-poetry-and-read-the-docs/
18
+ # Install poetry
19
+ - pip install poetry
20
+ # Tell poetry to not use a virtual environment
21
+ - poetry config virtualenvs.create false
22
+ post_install :
23
+ # Install dependencies
24
+ - poetry install --with docs
25
25
26
26
# Build documentation for mkdocs
27
27
mkdocs :
28
- configuration : mkdocs.yml
28
+ configuration : mkdocs.yml
29
+
30
+ # # Optionally set the version of Python and requirements required to build your docs
31
+ # python:
32
+ # install:
33
+ # - method: pip
34
+ # path: .
35
+ # - requirements: docs-requirements.txt
You can’t perform that action at this time.
0 commit comments