Merge pull request #3160 from tgerla/toctree

show entire doc index in left sidebar on the documentation home page
This commit is contained in:
Michael DeHaan 2013-06-09 11:10:54 -07:00
commit edb6a683f3

View file

@ -13,8 +13,11 @@ get_header();
<div id="left-sidebar" class="span3 sidebar">
<div class="side-nav sidebar-block left-side-nav">
<ul><li><a href="/docs/"><strong>Documentation Home</strong></a></li></ul>
{% if title == "Ansible Documentation Index" %}
{{ toctree(maxdepth=1) }}
{% else %}
{{ toc }}
{% endif %}
<hr />
<div class="qsButton pagination-centered" />
<a href="/quickstart"><button class="btn btn-primary" type="button">Quick Start Video</button></a>