diff --git a/demo_docs/source/conf.py b/demo_docs/source/conf.py index 0c059188..ac160a14 100644 --- a/demo_docs/source/conf.py +++ b/demo_docs/source/conf.py @@ -29,8 +29,9 @@ sys.path.append(os.path.abspath('./test_py_module')) # Add any Sphinx extension module names here, as strings. They can be extensions # coming with Sphinx (named 'sphinx.ext.*') or your custom ones. extensions = [ - 'sphinx.ext.autodoc', - 'sphinx.ext.mathjax', + 'sphinx.ext.autodoc', + 'sphinx.ext.mathjax', + 'sphinx.ext.viewcode', ] # Math @@ -156,7 +157,7 @@ html_theme_path = ["../.."] #html_split_index = False # 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. #html_show_sphinx = True