8000 docs: Add edit link · vcs-python/libvcs@604a216 · GitHub
[go: up one dir, main page]

Skip to content

Commit 604a216

Browse files
committed
docs: Add edit link
1 parent ad436b5 commit 604a216

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

docs/conf.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,9 @@
7979
"class": "",
8080
},
8181
],
82+
"source_repository": f"{about['__github__']}/",
83+
"source_branch": "master",
84+
"source_directory": "docs/",
8285
}
8386
html_sidebars = {
8487
"**": [
@@ -92,7 +95,7 @@
9295
}
9396

9497
# linkify_issues
95-
issue_url_tpl = "https://github.com/vcs-python/libvcs/issues/{issue_id}"
98+
issue_url_tpl = about["__github__"] + "/issues/{issue_id}"
9699

97100
# sphinx.ext.autodoc
98101
autoclass_content = "both"

0 commit comments

Comments
 (0)
0