Skip to content

Commit

Permalink
[doc] updated environment creation for rtd in order to avoid unexpect…
Browse files Browse the repository at this point in the history
…ed behavior during build (crash without corresponding error message)
  • Loading branch information
MitchiLaser committed Oct 6, 2023
1 parent 4582c6b commit 9906587
Showing 1 changed file with 9 additions and 14 deletions.
23 changes: 9 additions & 14 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,25 +9,20 @@ build:
os: ubuntu-22.04
tools:
python: "3.11"
# You can also specify other tool versions:
# nodejs: "19"
# rust: "1.64"
# golang: "1.19"
commands:
- pip install .[dev]

# Build documentation in the "docs/" directory with Sphinx
# install the current packages with the optional dependencies for development. Otherwise some modules would be missing
python:
install:
- method: pip
path: .
extra_requirements:
- dev

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

# Optionally build your docs in additional formats such as PDF and ePub
# formats:
# - pdf
# - epub

# Optional but recommended, declare the Python requirements required
# to build your documentation
# See https://docs.readthedocs.io/en/stable/guides/reproducible-builds.html
# python:
# install:
# - requirements: docs/requirements.txt

0 comments on commit 9906587

Please sign in to comment.