Skip to content

Commit 98cac99

Browse files
committed
refs #9 update conf.py for theme and github link
1 parent a7e671f commit 98cac99

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

source/conf.py

+8-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
# The theme to use for HTML and HTML Help pages. See the documentation for
5353
# a list of builtin themes.
5454
#
55-
html_theme = "alabaster"
55+
html_theme = "sphinx_rtd_theme"
5656

5757
# Add any paths that contain custom static files (such as style sheets) here,
5858
# relative to this directory. They are copied after the builtin static files,
@@ -63,3 +63,10 @@
6363
".rst": "restructuredtext",
6464
".md": "markdown",
6565
}
66+
67+
html_context = {
68+
'display_github': True,
69+
'github_user': 'python-ed-open-doc',
70+
'github_repo': 'python-starter-guide',
71+
'github_version': 'main/source/',
72+
}

0 commit comments

Comments
 (0)