Skip to content

Commit

Permalink
Trial poetry integration into the doc building yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ekiefl committed Jul 15, 2024
1 parent 4d58736 commit dc66039
Showing 1 changed file with 7 additions and 9 deletions.
16 changes: 7 additions & 9 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,13 @@ build:
# nodejs: "20"
# rust: "1.70"
# golang: "1.20"
jobs:
post_create_environment:
# Install poetry
# https://python-poetry.org/docs/#installing-manually
- python -m pip install poetry
post_install:
- VIRTUAL_ENV=$READTHEDOCS_VIRTUALENV_PATH poetry install --with docs

# Build documentation in the "docs/" directory with Sphinx
sphinx:
Expand All @@ -26,12 +33,3 @@ sphinx:
# formats:
# - pdf
# - epub

# Optional but recommended, declare the Python requirements required
# to build your documentation
# See https://docs.readthedocs.io/en/stable/guides/reproducible-builds.html
python:
install:
- requirements: docs/requirements.txt
- requirements: requirements.txt
- requirements: requirements-dev.txt

0 comments on commit dc66039

Please sign in to comment.