Skip to content

Commit 0e1f39a

Browse files
authored
docs: Enable edit source link in Sphinx documentation (#1401)
2 parents b37b0b4 + 07797bd commit 0e1f39a

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

docs/conf.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,14 @@
186186
gettext_compact = False
187187

188188
html_context = {
189+
# "Edit Source" link
190+
'display_github': True,
191+
'github_user': 'domaframework',
192+
'github_repo': 'doma',
193+
'github_version': 'master',
194+
'conf_py_path': '/docs/',
195+
196+
# versions
189197
'doma_version': '3.10.0',
190198
'doma_compile_version': '4.0.2',
191199
'doma_codegen_version': '3.2.1',

0 commit comments

Comments
 (0)