Skip to content

Commit 2f343be

Browse files
authored
Merge pull request #817 from murrayrm/readthedocs-17Dec2022
Fix readthedocs to use pip-based install
2 parents 821bfa9 + 7278651 commit 2f343be

File tree

2 files changed

+22
-0
lines changed

2 files changed

+22
-0
lines changed

.readthedocs.yaml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# .readthedocs.yaml
2+
# Read the Docs configuration file
3+
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
4+
5+
# Required
6+
version: 2
7+
8+
# Set the version of Python and other tools you might need
9+
build:
10+
os: ubuntu-22.04
11+
tools:
12+
python: "3.9"
13+
14+
# Build documentation in the docs/ directory with Sphinx
15+
sphinx:
16+
configuration: doc/conf.py
17+
18+
# Optionally declare the Python requirements required to build your docs
19+
python:
20+
install:
21+
- requirements: doc/requirements.txt

doc-requirements.txt renamed to doc/requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,4 @@ sphinx_rtd_theme
66
numpydoc
77
ipykernel
88
nbsphinx
9+
docutils==0.16 # pin until sphinx_rtd_theme is compatible with 0.17 or later

0 commit comments

Comments
 (0)