Skip to content

Commit 55ea411

Browse files
committed
fix docs
1 parent 6e3378b commit 55ea411

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

docs/conf.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,12 @@
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
'sphinx.ext.autodoc',
3636
'sphinx.ext.githubpages',
3737
'sphinx.ext.viewcode',
3838
'sphinx.ext.napoleon',
39-
'autodocsumm',
39+
'sphinx.ext.autosummary',
4040
]
4141

4242
autodoc_default_options = {
@@ -76,7 +76,7 @@
7676
#
7777
# This is also used if you do content translation via gettext catalogs.
7878
# Usually you set "language" from the command line for these cases.
79-
language = None
79+
language = 'en'
8080

8181
# List of patterns, relative to source directory, that match files and
8282
# directories to ignore when looking for source files.

setup.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -31,14 +31,14 @@
3131
'watchdog>=0.8.3',
3232

3333
# docs
34-
'm2r>=0.2.0,<0.3',
35-
#'Sphinx>=1.7.1,<3',
36-
'Sphinx>=5',
34+
'm2r2<4',
35+
'docutils>=0.12,<1',
36+
'nbsphinx>=0.5.0,<1',
37+
'sphinx_toolbox>=2.5,<4',
38+
'Sphinx>=3,<7',
39+
'markupsafe<3',
40+
'ipython>=6.5,<12',
3741
'sphinx_rtd_theme>=0.2.4,<0.5',
38-
'autodocsumm>=0.1.10',
39-
'mistune>=0.7,<2',
40-
'Jinja2>=2,<3.1',
41-
'markupsafe<2.1.0',
4242

4343
# style check
4444
'flake8>=3.7.7',

0 commit comments

Comments
 (0)