mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
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 !
35 lines
1.3 KiB
HTML
35 lines
1.3 KiB
HTML
<footer>
|
|
{% if next or prev %}
|
|
<div class="rst-footer-buttons">
|
|
{% if next %}
|
|
<a href="{{ next.link|e }}" class="btn btn-neutral float-right" title="{{ next.title|striptags|e }}"/>Next <span class="icon icon-circle-arrow-right"></span></a>
|
|
{% endif %}
|
|
{% if prev %}
|
|
<a href="{{ prev.link|e }}" class="btn btn-neutral" title="{{ prev.title|striptags|e }}"><span class="icon icon-circle-arrow-left"></span> Previous</a>
|
|
{% endif %}
|
|
</div>
|
|
{% endif %}
|
|
|
|
<hr/>
|
|
|
|
<script type="text/javascript">
|
|
(function(w,d,t,u,n,s,e){w['SwiftypeObject']=n;w[n]=w[n]||function(){
|
|
(w[n].q=w[n].q||[]).push(arguments);};s=d.createElement(t);
|
|
e=d.getElementsByTagName(t)[0];s.async=1;s.src=u;e.parentNode.insertBefore(s,e);
|
|
})(window,document,'script','//s.swiftypecdn.com/install/v2/st.js','_st');
|
|
|
|
_st('install','yABGvz2N8PwcwBxyfzUc','2.0.0');
|
|
</script>
|
|
|
|
<p>
|
|
Copyright © 2018 Red Hat, Inc.
|
|
<br>
|
|
|
|
{%- if last_updated %}
|
|
{% trans last_updated=last_updated|e %}Last updated on {{ last_updated }}.{% endtrans %}
|
|
{%- endif %}
|
|
</p>
|
|
<p>
|
|
Ansible docs are generated from <a href="https://github.com/ansible/ansible">GitHub sources</a> using <a href="http://sphinx-doc.org/">Sphinx</a> using a theme provided by <a href="http://readthedocs.org">Read the Docs</a>.
|
|
</p>
|
|
</footer>
|