]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
doc update template call for toctree 21503/head
authorAlfredo Deza <adeza@redhat.com>
Fri, 18 Aug 2017 16:05:03 +0000 (12:05 -0400)
committerNathan Cutler <ncutler@suse.com>
Wed, 18 Apr 2018 15:29:44 +0000 (17:29 +0200)
Up until version 1.1.3 of Sphinx, this call would show hidden toctree
entries. Most of Ceph's toctree's are hidden, so when the version of
Sphinx was bumped to >1.6, the sidebar stopped showing entries

Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit 9bb3397a5876ded89853f11cd35b3ca5e8aeec5c)

doc/_templates/smarttoc.html

index 8ec60cdf454dacf2d8f6d9400c081014f7e7e2dd..7a3fd3f2b4255b38b8832b0ce319b1b3e22f3ea8 100644 (file)
@@ -10,7 +10,7 @@
 
 #}
 <h3><a href="{{ pathto(master_doc) }}">{{ _('Table Of Contents') }}</a></h3>
-{{ toctree(maxdepth=-1) }}
+{{ toctree(maxdepth=-1, includehidden=True) }}
 
 <!-- ugly kludge to make genindex look like it's part of the toc -->
 <ul style="margin-top: -10px"><li class="toctree-l1"><a class="reference internal" href="{{ pathto('genindex') }}">Index</a></li></ul>