File tree Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Original file line number Diff line number Diff line change 1
1
# -*- coding: utf-8 -*-
2
+ import sys
2
3
3
4
extensions = [
4
5
'sphinx.ext.autodoc' ,
8
9
'sphinx.ext.mathjax' ,
9
10
'numpydoc' ,
10
11
'sphinx_gallery.gen_gallery' ,
11
- 'sphinx.ext.doctest'
12
+ 'sphinx.ext.doctest' ,
13
+ 'sphinx.ext.intersphinx'
12
14
]
13
15
14
16
templates_path = ['_templates' ]
39
41
# Option to hide doctests comments in the documentation (like # doctest:
40
42
# +NORMALIZE_WHITESPACE for instance)
41
43
trim_doctest_flags = True
44
+
45
+ # intersphinx configuration
46
+ intersphinx_mapping = {
47
+ 'python' : ('https://docs.python.org/{.major}' .format (
48
+ sys .version_info ), None ),
49
+ 'numpy' : ('https://docs.scipy.org/doc/numpy/' , None ),
50
+ 'scipy' : ('https://docs.scipy.org/doc/scipy/reference' , None ),
51
+ 'scikit-learn' : ('https://scikit-learn.org/stable/' , None )
52
+ }
You can’t perform that action at this time.
0 commit comments