Links to API in examples

This commit is contained in:
emmanuelle
2016-05-17 23:21:45 +02:00
parent 94d051c124
commit d998e7e534
12 changed files with 20 additions and 12 deletions
+8 -2
View File
@@ -31,7 +31,7 @@ extensions = ['sphinx.ext.autodoc',
'sphinx.ext.imgmath',
'numpydoc',
'sphinx.ext.autosummary',
'plot2rst',
#'plot2rst',
'sphinx.ext.intersphinx',
'sphinx.ext.linkcode',
'sphinx_gallery.gen_gallery'
@@ -44,11 +44,17 @@ autosummary_generate = True
#------------------------------------------------------------------------
sphinx_gallery_conf = {
# 'doc_module' : 'skimage',
'doc_module' : 'skimage',
# path to your examples scripts
'examples_dirs' : '../examples',
# path where to save gallery generated examples
'gallery_dirs' : 'auto_examples',
'mod_example_dir': 'api',
'reference_url' : {
'skimage': None,
'matplotlib': 'http://matplotlib.org',
'numpy': 'http://docs.scipy.org/doc/numpy-1.6.0',
'scipy': 'http://docs.scipy.org/doc/scipy-0.11.0/reference',}
}
# Determine if the matplotlib has a recent enough version of the