krb5 commit [krb5-1.11]: Move Release tag into footer for Sphinx HTML

Tom Yu tlyu at MIT.EDU
Tue Nov 27 16:16:28 EST 2012


https://github.com/krb5/krb5/commit/20441d280670796597131b2f1e52d96872823f66
commit 20441d280670796597131b2f1e52d96872823f66
Author: Zhanna Tsitkov <tsitkova at mit.edu>
Date:   Mon Nov 26 16:45:08 2012 -0500

    Move Release tag into footer for Sphinx HTML
    
    The current position of the Release tag is in the body of the main page
    of the Sphinx html.  Move it to the footer.  This way the release number
    can be viewed from every page.
    
    (cherry picked from commit 3cd8934659c4558a5144191716085d094b08d44e)
    
    ticket: 7462
    version_fixed: 1.11
    status: resolved

 doc/_templates/layout.html |    2 ++
 doc/index.rst              |    6 ------
 2 files changed, 2 insertions(+), 6 deletions(-)

diff --git a/doc/_templates/layout.html b/doc/_templates/layout.html
index 2cf03a1..585e6c5 100644
--- a/doc/_templates/layout.html
+++ b/doc/_templates/layout.html
@@ -8,6 +8,8 @@
 {% macro feedback_rellinks() %}
     <div class="footer-wrapper" >
         <div class="footer" >
+            <div class="right" ><i>Release: {{ release }} </i>
+            </div>
             <div class="left" >
                 {%- for rellink in rellinks|reverse %}
                     <a href="{{ pathto(rellink[0]) }}"
diff --git a/doc/index.rst b/doc/index.rst
index 6a2b8c3..e7a5cf5 100644
--- a/doc/index.rst
+++ b/doc/index.rst
@@ -15,9 +15,3 @@ MIT Kerberos Documentation
    build_this.rst
    about.rst
    resources
-
-
-.. _reference:
-
-:Release: |release|
-


More information about the cvs-krb5 mailing list