-
Notifications
You must be signed in to change notification settings - Fork 73
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Removal of 'Edit on Github' link for API pages of KQC documentation - F…
…ixes #92 (#93) * added breadcrumbs.html to manage 'github_url' meta * added github_url meta to relevant files preventing undesired github link rendering
- Loading branch information
Showing
4 changed files
with
16 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{%- extends "sphinx_rtd_theme/breadcrumbs.html" %} | ||
|
||
{% block breadcrumbs_aside %} | ||
{% if not meta or meta.get('github_url') != 'hide' %} | ||
{{ super() }} | ||
{% endif %} | ||
{% endblock %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,6 @@ | ||
:github_url: hide | ||
{{"\n"}} | ||
|
||
{%- if show_headings %} | ||
{{- basename | e | heading }} | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,6 @@ | ||
:github_url: hide | ||
{{"\n"}} | ||
|
||
{{ header | heading }} | ||
|
||
.. toctree:: | ||
|