Skip to content

Commit

Permalink
Merge pull request #68 from py-pkgs/patch-rtd-config
Browse files Browse the repository at this point in the history
updated the cookiecutter .readthedocs.yml
  • Loading branch information
ttimbers authored Jan 10, 2024
2 parents a42ef3c + b2ae2f7 commit 7e06342
Showing 1 changed file with 12 additions and 8 deletions.
20 changes: 12 additions & 8 deletions {{ cookiecutter.__package_slug }}/.readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,18 @@ build:
os: ubuntu-22.04
tools:
python: "3.9"

jobs:
post_create_environment:
# Install poetry
# https://python-poetry.org/docs/#installing-manually
- pip install poetry
# Tell poetry to not use a virtual environment
- poetry config virtualenvs.create false
post_install:
# Install dependencies with 'docs' dependency group
# https://python-poetry.org/docs/managing-dependencies/#dependency-groups
- poetry install

# Build documentation in the "docs/" directory with Sphinx
sphinx:
configuration: docs/conf.py

# 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

0 comments on commit 7e06342

Please sign in to comment.