Skip to content

Commit

Permalink
fix for readthedocs
Browse files Browse the repository at this point in the history
  • Loading branch information
ehsteve committed Jan 6, 2023
1 parent 3be53fe commit b943d7c
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 8 deletions.
20 changes: 13 additions & 7 deletions .readthedocs.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,17 @@
version: 2

build:
os: ubuntu-20.04
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
# Install dependencies with 'docs' dependency group
# https://python-poetry.org/docs/managing-dependencies/#dependency-groups
- poetry install --with docs

python:
install:
- method: pip
path: .
sphinx:
configuration: docs/conf.py
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ coverage = "^6.5.0"

[tool.poetry.group.docs.dependencies]
matplotlib = "^3.6.0"
Sphinx = "^5.2.3"
sphinx = "^5.2.3"
sphinx-automodapi = "^0.14.1"
graphviz = "^0.20.1"

Expand Down

0 comments on commit b943d7c

Please sign in to comment.