Skip to content

Commit

Permalink
chore: update ReadTheDocs config file to be compliant (#439)
Browse files Browse the repository at this point in the history
* add build.os config setting for readthedocs
* set lower bound of readthedocs Sphinx theme to fix readthedocs CI

---------

Co-authored-by: Alexander Held <[email protected]>
  • Loading branch information
matthewfeickert and alexander-held authored Sep 20, 2023
1 parent 2af877c commit 80b4af1
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
11 changes: 8 additions & 3 deletions .readthedocs.yml → .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,22 @@
# 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: docs/conf.py

# Optionally build your docs in additional formats such as PDF
# If using Sphinx, optionally build your docs in additional formats such as PDF and ePub
formats:
- pdf

# Optionally set the version of Python and requirements required to build your docs
# python -m pip install '.[docs,contrib]'
python:
version: 3.8
install:
- method: pip
path: .
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"sphinx-click",
"sphinx-copybutton",
"sphinx-jsonschema",
"sphinx-rtd-theme",
"sphinx-rtd-theme>=1.2", # Sphinx 7 compatibility
}
)

Expand Down

0 comments on commit 80b4af1

Please sign in to comment.