Skip to content

Commit 10e48e9

Browse files
StaticRocketpraneethbajjuri
authored andcommitted
feat(rtd): enable the edit on github button
Enable the "Edit on GitHub" button. This adds a link that will automatically take users to the source of the currently viewed page on GitHub. Signed-off-by: Randolph Sapp <[email protected]>
1 parent ccaf031 commit 10e48e9

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

conf.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -193,6 +193,15 @@
193193
# implements a search results scorer. If empty, the default will be used.
194194
html_search_scorer = ''
195195

196+
# Read the Docs specific parameters for the "Edit on GitHub" button
197+
html_context = {
198+
"display_github": True,
199+
"github_user": "texasinstruments",
200+
"github_repo": "processor-sdk-doc",
201+
"github_version": "master",
202+
"conf_py_path": "/source/",
203+
}
204+
196205
# -- Options for LaTeX output ---------------------------------------------
197206

198207
latex_elements = {

0 commit comments

Comments
 (0)