Skip to content

Commit 5e500dd

Browse files
author
Bryan Fu
committed
RTD infrasim-compute update - conf.py minor update
1 parent 395c114 commit 5e500dd

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

Diff for: docs/conf.py

+7-4
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,10 @@
3333
# Add any Sphinx extension module names here, as strings. They can be
3434
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
3535
# ones.
36-
extensions = ['sphinx.ext.autodoc']
36+
extensions = ['edit_on_github', 'sphinx.ext.autodoc']
37+
edit_on_github_project = 'InfraSIM/docs'
38+
edit_on_github_branch = 'master'
39+
edit_on_github_src_path = 'docs/' # optional. default: ''
3740

3841
# Add any paths that contain templates here, relative to this directory.
3942
templates_path = ['_templates']
@@ -171,9 +174,9 @@
171174
#html_use_smartypants = True
172175

173176
# Custom sidebar templates, maps document names to template names.
174-
# html_sidebars = {
175-
# '*': ['searchbox.html', 'localtoc.html']
176-
# }
177+
html_sidebars = {
178+
'*': ['searchbox.html', 'localtoc.html']
179+
}
177180

178181
# Additional templates that should be rendered to pages, maps page names to
179182
# template names.

0 commit comments

Comments
 (0)