Skip to content

Commit 258aab4

Browse files
author
Gauvain Pocentek
committed
Add a 'report a bug' link on doc
1 parent 1833117 commit 258aab4

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

docs/_templates/breadcrumbs.html

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
{# Support for Sphinx 1.3+ page_source_suffix, but don't break old builds. #}
2+
3+
{% if page_source_suffix %}
4+
{% set suffix = page_source_suffix %}
5+
{% else %}
6+
{% set suffix = source_suffix %}
7+
{% endif %}
8+
9+
<div role="navigation" aria-label="breadcrumbs navigation">
10+
<ul class="wy-breadcrumbs">
11+
<li><a href="{{ pathto(master_doc) }}">Docs</a> &raquo;</li>
12+
{% for doc in parents %}
13+
<li><a href="{{ doc.link|e }}">{{ doc.title }}</a> &raquo;</li>
14+
{% endfor %}
15+
<li>{{ title }}</li>
16+
<li class="wy-breadcrumbs-aside">
17+
{% if pagename != "search" %}
18+
<a href="https://github.com/gpocentek/python-gitlab/blob/{{ github_version }}{{ conf_py_path }}{{ pagename }}{{ suffix }}" class="fa fa-github"> Edit on GitHub</a>
19+
| <a href="https://github.com/gpocentek/python-gitlab/issues/new?title=Documentation+bug&body=%0A%0A------%0AIn+page:+{{ pagename }}{{ suffix }}">Report a bug</a>
20+
{% endif %}
21+
</li>
22+
</ul>
23+
<hr/>
24+
</div>

0 commit comments

Comments
 (0)