ba370b178d
This is something I always wanted, a 'Edit on GitHub' button for module documentation. I also removed the additional statement in the footer with instructions on how to edit the module documentation. PS The links go directly into the GitHub file editor now !
11 lines
456 B
HTML
11 lines
456 B
HTML
<ul class="wy-breadcrumbs">
|
|
<li><a href="{{ pathto(master_doc) }}">Docs</a> »</li>
|
|
<li><a href="">{{ title }}</a></li>
|
|
{% if not pagename.endswith('_module') and (not 'list_of' in pagename) and (not 'category' in pagename) %}
|
|
<li class="wy-breadcrumbs-aside">
|
|
<a href="https://github.com/ansible/ansible/edit/devel/docs/docsite/rst/{{ pagename }}.rst" class="icon icon-github"> Edit on GitHub</a>
|
|
</li>
|
|
{% endif %}
|
|
</ul>
|
|
<hr/>
|
|
|