Skip to content

Commit c08a224

Browse files
authored
Fix doc test (#22)
* fix docs * re-add mistune
1 parent af2c2fd commit c08a224

File tree

2 files changed

+15
-5
lines changed

2 files changed

+15
-5
lines changed

docs/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
# Add any Sphinx extension module names here, as strings. They can be
3232
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
3333
extensions = [
34-
'm2r',
34+
'm2r2',
3535
'nbsphinx',
3636
'sphinx.ext.autodoc',
3737
'sphinx.ext.githubpages',

setup.py

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,14 +47,24 @@
4747
'watchdog>=0.8.3,<0.11',
4848

4949
# docs
50-
'm2r>=0.2.0,<0.3',
50+
'docutils>=0.12,<0.18',
51+
'm2r2>=0.2.5,<0.3',
5152
'nbsphinx>=0.5.0,<0.7',
52-
'Sphinx>=1.7.1,<3',
53+
'Sphinx>=3,<3.3',
5354
'sphinx_rtd_theme>=0.2.4,<0.5',
5455
'autodocsumm>=0.1.10',
5556
'mistune>=0.7,<2',
56-
'Jinja2<3.1',
57-
57+
'Jinja2>=2,<3.1',
58+
59+
# fails on Sphinx < v3.4
60+
'alabaster<=0.7.12',
61+
# fails on Sphins < v5.0
62+
'sphinxcontrib-applehelp<1.0.8',
63+
'sphinxcontrib-devhelp<1.0.6',
64+
'sphinxcontrib-htmlhelp<2.0.5',
65+
'sphinxcontrib-serializinghtml<1.1.10',
66+
'sphinxcontrib-qthelp<1.0.7',
67+
5868
# style check
5969
'flake8>=3.7.7,<4',
6070
'isort>=4.3.4,<5',

0 commit comments

Comments
 (0)