Skip to content

Commit

Permalink
Add a 'report a bug' link on doc
Browse files Browse the repository at this point in the history
  • Loading branch information
Gauvain Pocentek committed Nov 5, 2016
1 parent 1833117 commit 258aab4
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions docs/_templates/breadcrumbs.html
@@ -0,0 +1,24 @@
{# Support for Sphinx 1.3+ page_source_suffix, but don't break old builds. #}

{% if page_source_suffix %}
{% set suffix = page_source_suffix %}
{% else %}
{% set suffix = source_suffix %}
{% endif %}

<div role="navigation" aria-label="breadcrumbs navigation">
<ul class="wy-breadcrumbs">
<li><a href="{{ pathto(master_doc) }}">Docs</a> &raquo;</li>
{% for doc in parents %}
<li><a href="{{ doc.link|e }}">{{ doc.title }}</a> &raquo;</li>
{% endfor %}
<li>{{ title }}</li>
<li class="wy-breadcrumbs-aside">
{% if pagename != "search" %}
<a href="https://github.com/gpocentek/python-gitlab/blob/{{ github_version }}{{ conf_py_path }}{{ pagename }}{{ suffix }}" class="fa fa-github"> Edit on GitHub</a>
| <a href="https://github.com/gpocentek/python-gitlab/issues/new?title=Documentation+bug&body=%0A%0A------%0AIn+page:+{{ pagename }}{{ suffix }}">Report a bug</a>
{% endif %}
</li>
</ul>
<hr/>
</div>

0 comments on commit 258aab4

Please sign in to comment.