summaryrefslogtreecommitdiffstats
path: root/doc/_templates
diff options
context:
space:
mode:
authorTom Yu <tlyu@mit.edu>2012-12-17 15:44:27 -0500
committerTom Yu <tlyu@mit.edu>2012-12-17 17:47:20 -0500
commit49d31402d77744a58dcd03808a94361ef011a594 (patch)
tree15907328d5cea7a939cbf51c78734ad1ef6161f5 /doc/_templates
parent2af891a5112642636986c88b474519075c392a64 (diff)
downloadkrb5-49d31402d77744a58dcd03808a94361ef011a594.tar.gz
krb5-49d31402d77744a58dcd03808a94361ef011a594.tar.xz
krb5-49d31402d77744a58dcd03808a94361ef011a594.zip
Add copyright footer to HTML docs
The technique we use for inserting the feedback link in the footer overrides the Sphinx basic/layout.html and agogo/layout.html footers in a way that prevents us from getting the copyright link footer. Copy the relevant part of the Sphinx basic/layout.html for now. Add a copyright.rst that links to mitK5license.rst. ticket: 7510 (new) target_version: 1.11 tags: pullup
Diffstat (limited to 'doc/_templates')
-rw-r--r--doc/_templates/layout.html9
1 files changed, 8 insertions, 1 deletions
diff --git a/doc/_templates/layout.html b/doc/_templates/layout.html
index 7bfdec6909..4ec97c2ff5 100644
--- a/doc/_templates/layout.html
+++ b/doc/_templates/layout.html
@@ -8,7 +8,14 @@
{% macro feedback_rellinks() %}
<div class="footer-wrapper" >
<div class="footer" >
- <div class="right" ><i>Release: {{ release }} </i>
+ <div class="right" ><i>Release: {{ release }}</i><br />
+ {%- if show_copyright %}
+ {%- if hasdoc('copyright') %}
+ {% trans path=pathto('copyright'), copyright=copyright|e %}&copy; <a href="{{ path }}">Copyright</a> {{ copyright }}.{% endtrans %}
+ {%- else %}
+ {% trans copyright=copyright|e %}&copy; Copyright {{ copyright }}.{% endtrans %}
+ {%- endif %}
+ {%- endif %}
</div>
<div class="left" >
{%- for rellink in rellinks|reverse %}