File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change 2525from github .GithubException import RateLimitExceededException , \
2626 UnknownObjectException
2727import m2r
28+ from nipype import __version__ as _nipype_version
2829import semver
29- from sphinx .ext .autodoc import FunctionDocumenter
3030from pybtex .plugin import register_plugin
3131
3232sys .path .append (os .path .dirname (__file__ ))
@@ -171,6 +171,12 @@ def yaml_to_rst(path):
171171 bib .endswith ('.bib' )]
172172bibtex_default_style = 'cpac_docs_style'
173173
174+ intersphinx_mapping = {
175+ 'nipype' : (f'https://nipype.readthedocs.io/en/{ _nipype_version } /' , None ),
176+ 'python' : ('https://docs.python.org/3' , None )}
177+
178+ napoleon_preprocess_types = True
179+
174180# Add any paths that contain templates here, relative to this directory.
175181templates_path = ['_templates' ]
176182
You can’t perform that action at this time.
0 commit comments