Merge pull request #3160 from tgerla/toctree
show entire doc index in left sidebar on the documentation home page
This commit is contained in:
commit
edb6a683f3
1 changed files with 5 additions and 2 deletions
|
@ -13,8 +13,11 @@ get_header();
|
||||||
<div id="left-sidebar" class="span3 sidebar">
|
<div id="left-sidebar" class="span3 sidebar">
|
||||||
<div class="side-nav sidebar-block left-side-nav">
|
<div class="side-nav sidebar-block left-side-nav">
|
||||||
<ul><li><a href="/docs/"><strong>Documentation Home</strong></a></li></ul>
|
<ul><li><a href="/docs/"><strong>Documentation Home</strong></a></li></ul>
|
||||||
|
{% if title == "Ansible Documentation Index" %}
|
||||||
|
{{ toctree(maxdepth=1) }}
|
||||||
|
{% else %}
|
||||||
{{ toc }}
|
{{ toc }}
|
||||||
|
{% endif %}
|
||||||
<hr />
|
<hr />
|
||||||
<div class="qsButton pagination-centered" />
|
<div class="qsButton pagination-centered" />
|
||||||
<a href="/quickstart"><button class="btn btn-primary" type="button">Quick Start Video</button></a>
|
<a href="/quickstart"><button class="btn btn-primary" type="button">Quick Start Video</button></a>
|
||||||
|
|
Loading…
Reference in a new issue