Skip to content

Commit

Permalink
Fix RTD (#103)
Browse files Browse the repository at this point in the history
  • Loading branch information
teutoburg authored Oct 25, 2024
2 parents 60df4f9 + 7699b57 commit c357742
Showing 1 changed file with 13 additions and 12 deletions.
25 changes: 13 additions & 12 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,19 +5,20 @@
version: 2

build:
os: ubuntu-20.04
os: "ubuntu-22.04"
tools:
python: "3.9"
python: "3.11"
jobs:
post_create_environment:
# Install poetry
# https://python-poetry.org/docs/#installing-manually
- pip install poetry
post_install:
# Install dependencies with 'docs' dependency group
# https://python-poetry.org/docs/managing-dependencies/#dependency-groups
# VIRTUAL_ENV needs to be set manually for now.
# See https://github.com/readthedocs/readthedocs.org/pull/11152/
- VIRTUAL_ENV=$READTHEDOCS_VIRTUALENV_PATH poetry install --with docs

sphinx:
configuration: docs/conf.py

python:
install:
- method: pip
path: .
extra_requirements:
- docs

# If using Sphinx, optionally build your docs in additional formats such as PDF
# formats: [] # ignore htmlzip. html is always run

0 comments on commit c357742

Please sign in to comment.