Skip to content

Commit

Permalink
Fix ReadTheDocs generation (#452)
Browse files Browse the repository at this point in the history
  • Loading branch information
adrien-berchet authored Jun 11, 2023
1 parent a5030bb commit b92242b
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 1 deletion.
22 changes: 22 additions & 0 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# .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 version of Python and other tools you might need
build:
os: ubuntu-22.04
tools:
python: "3.11"

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

# We recommend specifying your dependencies to enable reproducible builds:
# https://docs.readthedocs.io/en/stable/guides/reproducible-builds.html
python:
install:
- requirements: requirements-rtd.txt
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ commands =
pre-commit run --all-files

[testenv:docs]
basepython = python3.9
basepython = python3.11
changedir = doc
allowlist_externals = make
deps =
Expand Down

0 comments on commit b92242b

Please sign in to comment.