Skip to content

Commit

Permalink
docs: replace docs extra by Poetry group
Browse files Browse the repository at this point in the history
  • Loading branch information
browniebroke committed Nov 25, 2022
1 parent 722a935 commit 32bc79f
Show file tree
Hide file tree
Showing 3 changed files with 256 additions and 260 deletions.
24 changes: 13 additions & 11 deletions .readthedocs.yml
Original file line number Diff line number Diff line change
@@ -1,23 +1,25 @@
# .readthedocs.yaml
# Read the Docs configuration file
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details

# Required
version: 2

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

# Set the version of Python and other tools you might need
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

# Declare the Python requirements required to build your docs
python:
install:
- method: pip
path: .
extra_requirements:
- docs
# Build documentation in the docs directory with Sphinx
sphinx:
configuration: docs/conf.py
Loading

0 comments on commit 32bc79f

Please sign in to comment.