Skip to content

Commit 8328280

Browse files
committed
No more system default packages on readthedocs
1 parent 015c915 commit 8328280

File tree

3 files changed

+16
-4
lines changed

3 files changed

+16
-4
lines changed

.readthedocs.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,12 @@
11
version: 2
22

3+
# Set the OS, Python version and other tools you might need
4+
build:
5+
os: ubuntu-22.04
6+
tools:
7+
python: "3.12"
8+
39
python:
4-
version: 3.7
510
install:
611
- method: pip
712
path: .
@@ -10,5 +15,9 @@ python:
1015
- requirements: docs/requirements.txt
1116
- requirements: requirements.txt
1217

18+
# Build documentation in the "docs/" directory with Sphinx
19+
sphinx:
20+
configuration: docs/conf.py
21+
1322
# The only extra format to build is PDF
1423
formats: [pdf]

docs/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ def setup(app):
137137
# The theme to use for HTML and HTML Help pages. See the documentation for
138138
# a list of builtin themes.
139139
#
140-
html_theme = 'sphinx_rtd_theme'
140+
# html_theme = 'sphinx_rtd_theme'
141141

142142
# Theme options are theme-specific and customize the look and feel of a theme
143143
# further. For a list of options available for each theme, see the

docs/requirements.txt

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
numpydoc
2-
recommonmark==0.6.0
3-
sphinx==1.8.4
2+
recommonmark
3+
sphinx
44
numba>=0.49.1
5+
numpy
6+
scipy
7+
tqdm

0 commit comments

Comments
 (0)