Skip to content

Commit e09bb92

Browse files
authored
docs: Add link to "Edit on GitHub" (#1097)
1 parent 528cf8e commit e09bb92

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

docs/src/conf.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,15 @@
9393
# 'analytics_id': 'UA-64532708-4'
9494
}
9595

96+
# Adding "Edit Source" links
97+
# See https://docs.readthedocs.com/platform/latest/guides/edit-source-links-sphinx.html
98+
html_context = {
99+
"display_github": True,
100+
"github_user": "hyperledger-labs",
101+
"github_repo": "splice",
102+
"github_version": "main",
103+
"conf_py_path": "/docs/src/",
104+
}
96105

97106
html_js_files = ["script.js"]
98107

0 commit comments

Comments
 (0)