Skip to content

Commit

Permalink
Pin dependency versions used by readthedocs (#257)
Browse files Browse the repository at this point in the history
  • Loading branch information
adamreeve committed Oct 27, 2021
1 parent c160fc1 commit ec4dd4d
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 1 deletion.
11 changes: 11 additions & 0 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
version: 2

# Build from the docs/ directory with Sphinx
sphinx:
configuration: docs/conf.py

# Explicitly set the version of Python and its requirements
python:
version: 3.8
install:
- requirements: docs/requirements.txt
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
extensions = ["sphinx.ext.autodoc"]

# Autodoc options
autoclass_content = "doc"
autoclass_content = "class"

# Add any paths that contain templates here, relative to this directory.
templates_path = []
Expand Down
3 changes: 3 additions & 0 deletions docs/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
sphinx==4.2.0
sphinx_rtd_theme==1.0.0
readthedocs-sphinx-search==0.1.1

0 comments on commit ec4dd4d

Please sign in to comment.