Skip to content

Commit 7f18e08

Browse files
committed
docs: use requirements files to install themes and plugins
1 parent f06f2fd commit 7f18e08

File tree

3 files changed

+69
-1
lines changed

3 files changed

+69
-1
lines changed

docs/conf.py

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,15 @@
2828

2929
# Add any Sphinx extension module names here, as strings. They can be extensions
3030
# coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
31-
extensions = ['sphinx.ext.intersphinx', 'sphinx.ext.ifconfig', 'sphinx.ext.todo']
31+
extensions = [
32+
"sphinx.ext.duration",
33+
"sphinx.ext.doctest",
34+
"sphinx.ext.autodoc",
35+
"sphinx.ext.ifconfig",
36+
"sphinx.ext.autosummary",
37+
"sphinx.ext.todo",
38+
"sphinx.ext.intersphinx",
39+
]
3240

3341
# Add any paths that contain templates here, relative to this directory.
3442
templates_path = ['_templates']

docs/requirements.in

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
Sphinx>=5,<6
2+
sphinx_rtd_theme

docs/requirements.txt

Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
#
2+
# This file is autogenerated by pip-compile with python 3.10
3+
# To update, run:
4+
#
5+
# pip-compile docs/requirements.in
6+
#
7+
alabaster==0.7.12
8+
# via sphinx
9+
babel==2.10.3
10+
# via sphinx
11+
certifi==2022.6.15
12+
# via requests
13+
charset-normalizer==2.1.0
14+
# via requests
15+
docutils==0.17.1
16+
# via
17+
# sphinx
18+
# sphinx-rtd-theme
19+
idna==3.3
20+
# via requests
21+
imagesize==1.4.1
22+
# via sphinx
23+
jinja2==3.1.2
24+
# via sphinx
25+
markupsafe==2.1.1
26+
# via jinja2
27+
packaging==21.3
28+
# via sphinx
29+
pygments==2.12.0
30+
# via sphinx
31+
pyparsing==3.0.9
32+
# via packaging
33+
pytz==2022.1
34+
# via babel
35+
requests==2.28.1
36+
# via sphinx
37+
snowballstemmer==2.2.0
38+
# via sphinx
39+
sphinx==5.0.2
40+
# via
41+
# -r docs/requirements.in
42+
# sphinx-rtd-theme
43+
sphinx-rtd-theme==1.0.0
44+
# via -r docs/requirements.in
45+
sphinxcontrib-applehelp==1.0.2
46+
# via sphinx
47+
sphinxcontrib-devhelp==1.0.2
48+
# via sphinx
49+
sphinxcontrib-htmlhelp==2.0.0
50+
# via sphinx
51+
sphinxcontrib-jsmath==1.0.1
52+
# via sphinx
53+
sphinxcontrib-qthelp==1.0.3
54+
# via sphinx
55+
sphinxcontrib-serializinghtml==1.1.5
56+
# via sphinx
57+
urllib3==1.26.9
58+
# via requests

0 commit comments

Comments
 (0)