Skip to content

Commit

Permalink
docs: replace docs extra by Poetry group (#330)
Browse files Browse the repository at this point in the history
  • Loading branch information
browniebroke committed Nov 25, 2022
1 parent 913c967 commit 54ce4e0
Show file tree
Hide file tree
Showing 3 changed files with 98 additions and 100 deletions.
19 changes: 10 additions & 9 deletions .readthedocs.yml
Expand Up @@ -9,15 +9,16 @@ build:
os: ubuntu-20.04
tools:
python: "3.9"
jobs:
post_create_environment:
# Install poetry
- pip install poetry
# Tell poetry to not use a virtual environment
- poetry config virtualenvs.create false
post_install:
# Install dependencies
- poetry install --with docs

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

# Optionally declare the Python requirements required to build your docs
python:
install:
- method: pip
path: .
extra_requirements:
- docs

0 comments on commit 54ce4e0

Please sign in to comment.