krb5 commit [krb5-1.11]: Do not include hidden files in the sidebar

Tom Yu tlyu at MIT.EDU
Wed Dec 12 16:20:40 EST 2012


https://github.com/krb5/krb5/commit/77f65c991e945e5e33008345d17ae04bebc5c824
commit 77f65c991e945e5e33008345d17ae04bebc5c824
Author: Ben Kaduk <kaduk at mit.edu>
Date:   Wed Nov 28 13:33:20 2012 -0500

    Do not include hidden files in the sidebar
    
    We play games with hidden toctrees in the RST source to avoid
    Sphinx warnings; make sure that they do not affect the rendered
    output.
    
    (cherry picked from commit b017751b711dfd70c8735f655a51e5ff860af49b)
    
    ticket: 7467
    version_fixed: 1.11
    status: resolved

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

diff --git a/doc/_templates/layout.html b/doc/_templates/layout.html
index 1822304..e517be5 100644
--- a/doc/_templates/layout.html
+++ b/doc/_templates/layout.html
@@ -66,7 +66,7 @@
                     {{ toc }}
                     <br/>
                     <h2>{{ _('Table of contents') }}</h2>
-                    {{ toctree(collapse=true, maxdepth=3, titles_only=true) }}
+                    {{ toctree(collapse=true, maxdepth=3, titles_only=true, includehidden=false) }}
                     <br/>
                     <h4><a href="{{ pathto('index') }}">Full Table of Contents
                     </a></h4>


More information about the cvs-krb5 mailing list