krb5 commit: Move Release tag into footer for Sphinx HTML

Zhanna A Tsitkova tsitkova at MIT.EDU
Mon Nov 26 17:11:46 EST 2012


https://github.com/krb5/krb5/commit/3cd8934659c4558a5144191716085d094b08d44e
commit 3cd8934659c4558a5144191716085d094b08d44e
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.
    
    ticket: 7462

 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