demo: Add source code links to API docs

This commit is contained in:
Stein Magnus Jodal 2013-11-06 14:40:07 +01:00
parent d4e0ac1cd8
commit a1cb64e78e

View File

@ -31,6 +31,7 @@ sys.path.append(os.path.abspath('./test_py_module'))
extensions = [ extensions = [
'sphinx.ext.autodoc', 'sphinx.ext.autodoc',
'sphinx.ext.mathjax', 'sphinx.ext.mathjax',
'sphinx.ext.viewcode',
] ]
# Math # Math
@ -156,7 +157,7 @@ html_theme_path = ["../.."]
#html_split_index = False #html_split_index = False
# If true, links to the reST sources are added to the pages. # If true, links to the reST sources are added to the pages.
#html_show_sourcelink = True html_show_sourcelink = True
# If true, "Created using Sphinx" is shown in the HTML footer. Default is True. # If true, "Created using Sphinx" is shown in the HTML footer. Default is True.
#html_show_sphinx = True #html_show_sphinx = True