Skip to content

Commit

Permalink
Add an RTD config file to resolve RTD build failures (#977)
Browse files Browse the repository at this point in the history
  • Loading branch information
kurtmckee authored Aug 25, 2024
1 parent d7710f7 commit 223e50d
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# https://docs.readthedocs.io/en/stable/config-file/v2.html

version: 2

build:
os: "ubuntu-lts-latest"
tools:
python: "3.11"

python:
install:
- method: "pip"
path: "."
extra_requirements:
- "docs"

sphinx:
configuration: "docs/conf.py"
fail_on_warning: true
1 change: 1 addition & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
include .pre-commit-config.yaml
include .readthedocs.yaml
include CODE_OF_CONDUCT.md
include AUTHORS.rst
include CHANGELOG.rst
Expand Down
1 change: 1 addition & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ commands = {envpython} -b -m coverage run -m pytest {posargs}


[testenv:docs]
# The tox config must match the ReadTheDocs config.
basepython = python3.11
extras = docs
commands =
Expand Down

0 comments on commit 223e50d

Please sign in to comment.