Skip to content

Commit

Permalink
Do not include hidden files in the sidebar
Browse files Browse the repository at this point in the history
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
  • Loading branch information
kaduk committed Dec 10, 2012
1 parent 81fc033 commit b017751
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/_templates/layout.html
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ <h2>{{ _('On this page') }} </h2>
{{ 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>
Expand Down

0 comments on commit b017751

Please sign in to comment.