File tree 6 files changed +165
-47
lines changed
6 files changed +165
-47
lines changed Original file line number Diff line number Diff line change 22
22
23
23
- name : Set up poetry
24
24
uses : Gr1N/setup-poetry@v9
25
+ with :
26
+ poetry-version : " 2.1.1"
25
27
26
28
- name : Configure poetry
27
29
run : poetry config virtualenvs.in-project true
Original file line number Diff line number Diff line change 24
24
25
25
- name : Set up poetry
26
26
uses : Gr1N/setup-poetry@v9
27
+ with :
28
+ poetry-version : " 2.1.1"
27
29
28
30
- name : Build
29
31
run : poetry build
Original file line number Diff line number Diff line change 30
30
31
31
- name : Set up poetry
32
32
uses : Gr1N/setup-poetry@v9
33
+ with :
34
+ poetry-version : " 2.1.1"
33
35
34
36
- name : Configure poetry
35
37
run : poetry config virtualenvs.in-project true
Original file line number Diff line number Diff line change @@ -14,11 +14,9 @@ build:
14
14
tools :
15
15
python : " 3.12"
16
16
jobs :
17
- post_create_environment :
18
- # Install poetry
19
- - pip install poetry==1.7.1
20
- # Tell poetry to not use a virtual environment
21
- - poetry config virtualenvs.create false
17
+ post_system_dependencies :
18
+ - asdf plugin-add poetry
19
+ - asdf install poetry 2.1.1
20
+ - asdf global poetry 2.1.1
22
21
post_install :
23
- # Install dependencies
24
- - poetry install --with docs
22
+ - VIRTUAL_ENV=$READTHEDOCS_VIRTUALENV_PATH poetry install --no-interaction --with docs
Original file line number Diff line number Diff line change @@ -32,10 +32,10 @@ reports-cleanup:
32
32
test-cleanup : test-cache-cleanup reports-cleanup
33
33
34
34
docs-html :
35
- sphinx- build -b html docs docs/_build
35
+ python -m mkdocs build --clean --site-dir docs_build --config-file mkdocs.yml
36
36
37
37
docs-cleanup :
38
- @rm -rf docs/_build
38
+ @rm -rf docs_build
39
39
40
40
cleanup : dist-cleanup test-cleanup
41
41
You can’t perform that action at this time.
0 commit comments