Skip to content

Commit 15e07e3

Browse files
committed
added the 'Edit on GitHub' link
1 parent c987159 commit 15e07e3

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

_themes/sphinx_rtd_theme/layout.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@
212212
{% else %}
213213
<div class="rst-content">
214214
{% endif %}
215-
<!-- {% include "breadcrumbs.html" %} -->
215+
{% include "breadcrumbs.html" %}
216216
<div role="main" class="document" itemscope="itemscope" itemtype="http://schema.org/Article">
217217
{%- block document %}
218218
<div id="mc_embed_signup">

conf.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,12 @@
111111
html_logo = "_static/images/logo.png"
112112
html_favicon = "_static/images/favicon.png"
113113

114+
html_context = {
115+
'display_github': True,
116+
'github_user': 'yasoob',
117+
'github_repo': 'intermediatepython',
118+
'github_version': 'testing/'
119+
}
114120
# Theme options are theme-specific and customize the look and feel of a theme
115121
# further. For a list of options available for each theme, see the
116122
# documentation.

0 commit comments

Comments
 (0)