]> git.ipfire.org Git - thirdparty/krb5.git/commitdiff
Do not include hidden files in the sidebar
authorBen Kaduk <kaduk@mit.edu>
Wed, 28 Nov 2012 18:33:20 +0000 (13:33 -0500)
committerBen Kaduk <kaduk@mit.edu>
Mon, 10 Dec 2012 18:01:25 +0000 (13:01 -0500)
We play games with hidden toctrees in the RST source to avoid
Sphinx warnings; make sure that they do not affect the rendered
output.

ticket: 7467 (new)
tags: pullup
target_version: 1.11

doc/_templates/layout.html

index 1822304a4bf0dc682412d64614fa0329d7fee5ee..e517be51fd2a949fba58adfe9d310ed293780575 100644 (file)
@@ -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>