Skip to content

Commit 27f299a

Browse files
authored
Merge pull request #2092 from effigies/test/nipype_sphinx3_fix
DOC: Pin nipype with new sphinx extension syntax
2 parents e5c0830 + 10ebed2 commit 27f299a

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

docs/conf.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -335,10 +335,10 @@
335335

336336
# Example configuration for intersphinx: refer to the Python standard library.
337337
intersphinx_mapping = {
338-
"python": ("https://docs.python.org/", None),
339-
"numpy": ("http://docs.scipy.org/doc/numpy", None),
340-
"scipy": ("http://docs.scipy.org/doc/scipy/reference", None),
341-
"matplotlib": ("http://matplotlib.sourceforge.net", None),
338+
"python": ("https://docs.python.org/3/", None),
339+
"numpy": ("https://docs.scipy.org/doc/numpy", None),
340+
"scipy": ("https://docs.scipy.org/doc/scipy/reference", None),
341+
"matplotlib": ("https://matplotlib.org/", None),
342342
"bids": ("https://bids-standard.github.io/pybids/", None),
343343
"nibabel": ("https://nipy.org/nibabel/", None),
344344
"nipype": ("https://nipype.readthedocs.io/en/latest/", None),
@@ -352,6 +352,6 @@
352352

353353

354354
def setup(app):
355-
app.add_stylesheet("theme_overrides.css")
355+
app.add_css_file("theme_overrides.css")
356356
# We need this for the boilerplate script
357-
app.add_javascript("https://cdn.rawgit.com/chrisfilo/zenodo.js/v0.1/zenodo.js")
357+
app.add_js_file("https://cdn.rawgit.com/chrisfilo/zenodo.js/v0.1/zenodo.js")

setup.cfg

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ python_requires = >=3.7
2424
install_requires =
2525
indexed_gzip >= 0.8.8
2626
nibabel >= 3.0
27-
nipype >= 1.4
27+
nipype >= 1.5
2828
nitime
2929
nitransforms >= 20.0.0rc3,<20.2
3030
niworkflows ~= 1.2.3
@@ -55,7 +55,7 @@ doc =
5555
packaging
5656
pydot >= 1.2.3
5757
pydotplus
58-
sphinx >= 1.5.3, < 3
58+
sphinx >= 1.8
5959
sphinx-argparse
6060
sphinx_rtd_theme
6161
sphinxcontrib-napoleon

0 commit comments

Comments
 (0)