Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/workflows/build-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ jobs:

- name: Set up poetry
uses: Gr1N/setup-poetry@v9
with:
poetry-version: "2.1.1"

- name: Configure poetry
run: poetry config virtualenvs.in-project true
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ jobs:

- name: Set up poetry
uses: Gr1N/setup-poetry@v9
with:
poetry-version: "2.1.1"

- name: Build
run: poetry build
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/python-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ jobs:

- name: Set up poetry
uses: Gr1N/setup-poetry@v9
with:
poetry-version: "2.1.1"

- name: Configure poetry
run: poetry config virtualenvs.in-project true
Expand Down
12 changes: 5 additions & 7 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,9 @@ build:
tools:
python: "3.12"
jobs:
post_create_environment:
# Install poetry
- pip install poetry==1.7.1
# Tell poetry to not use a virtual environment
- poetry config virtualenvs.create false
post_system_dependencies:
- asdf plugin-add poetry
- asdf install poetry 2.1.1
- asdf global poetry 2.1.1
post_install:
# Install dependencies
- poetry install --with docs
- VIRTUAL_ENV=$READTHEDOCS_VIRTUALENV_PATH poetry install --no-interaction --with docs
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,10 @@ reports-cleanup:
test-cleanup: test-cache-cleanup reports-cleanup

docs-html:
sphinx-build -b html docs docs/_build
python -m mkdocs build --clean --site-dir docs_build --config-file mkdocs.yml

docs-cleanup:
@rm -rf docs/_build
@rm -rf docs_build

cleanup: dist-cleanup test-cleanup

Expand Down
Loading
Loading