Skip to content

Commit b60375c

Browse files
committed
feat: link pages to GitHub source
1 parent aeef7d2 commit b60375c

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

src/conf.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,13 @@
182182

183183
html_theme_path = [sphinx_rtd_theme.get_html_theme_path()]
184184
html_theme_options = {"collapse_navigation": False, "navigation_depth": 4}
185+
html_context = {
186+
"display_github": True,
187+
"github_user": "ActivityWatch",
188+
"github_repo": "docs",
189+
"github_version": "master",
190+
"conf_py_path": "/src/",
191+
}
185192
using_rtd_theme = True
186193

187194
# The name for this set of Sphinx documents.

0 commit comments

Comments
 (0)