Skip to content

Commit

Permalink
docs: updated .readthedocs.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
MountainGod2 committed Apr 15, 2024
1 parent 931356a commit 6301fba
Showing 1 changed file with 15 additions and 6 deletions.
21 changes: 15 additions & 6 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
@@ -1,18 +1,27 @@
# .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 OS, Python version and other tools you might need
build:
os: "ubuntu-22.04"
os: ubuntu-22.04
tools:
python: "3.10"
python: "3.9"
jobs:
post_create_environment:
# Install poetry
# https://python-poetry.org/docs/#installing-manually
- python -m pip install poetry
- 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
- VIRTUAL_ENV=$READTHEDOCS_VIRTUALENV_PATH poetry install --with develop

- poetry install

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

0 comments on commit 6301fba

Please sign in to comment.