Skip to content

Commit f2e6347

Browse files
committed
doc: github links
1 parent e0f01b3 commit f2e6347

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

doc/conf.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,19 @@
3636
# -- Options for HTML output ----------------------------------------------
3737

3838
html_theme = "shibuya"
39+
html_baseurl = "https://sphinx-autodoc.readthedocs.io/"
3940
html_theme_options = {
4041
"page_layout": "compact",
42+
"github_url": "https://github.com/yaal-coop/jinja-autodoc",
4143
}
44+
html_context = {
45+
"source_type": "github",
46+
"source_user": "yaal-coop",
47+
"source_repo": "sphinx-autodoc",
48+
"source_version": "main",
49+
"source_docs_path": "/doc/",
50+
}
51+
4252
htmlhelp_basename = "jinja-autodoc-doc"
4353

4454
jinja_template_path = str(pathlib.Path(__file__).parent.resolve())

pyproject.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,10 @@ dependencies = [
3131
"sphinx>=7.4.0",
3232
]
3333

34+
[project.urls]
35+
documentation = "https://jinja-autodoc.readthedocs.io"
36+
repository = "https://github.com/yaal-coop/jinja-autodoc"
37+
3438
[dependency-groups]
3539
dev = [
3640
"beautifulsoup4>=4.12.3",

0 commit comments

Comments
 (0)