mirror of
https://github.com/ceph/ceph
synced 2025-05-03 16:18:30 +00:00
doc update template call for toctree
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>
This commit is contained in:
parent
1fe275f920
commit
9bb3397a58
2
doc/_templates/smarttoc.html
vendored
2
doc/_templates/smarttoc.html
vendored
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user