Commit 42488fc1 authored by Andrii Salnikov's avatar Andrii Salnikov

Edit source link

parent b8a5e78e
Pipeline #4741 failed with stages
in 2 minutes and 6 seconds
......@@ -15,15 +15,18 @@ div.footer {
margin: 20px auto 5px auto;
}
div.dnldpdf {
div.dnldpdf, div.editsource {
width: 940px;
margin: 0px auto 30px auto;
margin: 0px auto 5px auto;
font-size: 14px;
color: #888;
text-align: right;
}
div.dnldpdf a {
div.dnldpdf a, div.editsource a {
color: #888;
}
div.editsource {
margin-bottom: 30px;
}
......@@ -2,8 +2,12 @@
{% block footer %}
{{ super() }}
{% set doc_basename = 'NorduGridARC' %}
{% set gitlab_base_url = 'https://source.coderefinery.org/nordugrid/doc/edit/master/source' %}
<div class="dnldpdf">
Download full content in <a href="{{ pathto('_static/' + doc_basename + '.pdf', true)|e }}" rel="nofollow">{{ _('PDF') }}</a>
| <a href="{{ pathto('_static/' + doc_basename + '.epub', true)|e }}" rel="nofollow">{{ _('ePUB') }}</a>
</div>
<div class="editsource">
<a href="{{gitlab_base_url}}/{{ pagename }}.rst" rel="nofollow">Edit page source</a> on GitLab
</div>
{% endblock %}
......@@ -128,6 +128,8 @@ html_sidebars = {
# Customizations
html_show_sourcelink = False
#def setup(app):
# app.add_stylesheet('css/svgwidth.css')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment