Skip to content

Commit

Permalink
Fix .readthedocs.yaml (#303)
Browse files Browse the repository at this point in the history
  • Loading branch information
phackstock committed Jan 15, 2024
1 parent a52e25e commit 0b00734
Showing 1 changed file with 4 additions and 10 deletions.
14 changes: 4 additions & 10 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
@@ -1,26 +1,20 @@
# .readthedocs.yaml
# Read the Docs configuration file
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details

# Required
version: 2

# Set the version of Python and other tools you might need
build:
os: ubuntu-22.04
os: "ubuntu-22.04"
tools:
python: "3.10"
jobs:
post_create_environment:
# Install poetry
# https://python-poetry.org/docs/#installing-manually
- curl -sSL https://install.python-poetry.org | python -
- 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 --with docs
# Build documentation in the docs/ directory with Sphinx

sphinx:
configuration: docs/conf.py
configuration: docs/conf.py

0 comments on commit 0b00734

Please sign in to comment.