Skip to content

Commit 7180a4a

Browse files
committed
Add ReadTheDocs config, separate docs dependencies
1 parent f443f6a commit 7180a4a

File tree

3 files changed

+26
-7
lines changed

3 files changed

+26
-7
lines changed

.readthedocs.yaml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
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+
version: 2
6+
7+
formats:
8+
- pdf
9+
- epub
10+
11+
python:
12+
version: "3.7"
13+
install:
14+
- requirements: requirements-docs.txt
15+
- method: pip
16+
path: .
17+
18+
sphinx:
19+
fail_on_warning: false

requirements-dev.txt

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,2 @@
1-
ipython==7.25.0
2-
Sphinx==4.1.0
3-
sphinxcontrib-fulltoc==1.2.0
4-
nbsphinx==0.8.6
5-
6-
jinja2<4.0
7-
1+
-r ./requirements-docs.txt
82
-r ./requirements-test.txt

requirements-docs.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
ipython==7.25.0
2+
Sphinx==4.1.0
3+
sphinxcontrib-fulltoc==1.2.0
4+
nbsphinx==0.8.6
5+
6+
jinja2<4.0

0 commit comments

Comments
 (0)