diff options
author | Tommi Virtanen <tommi.virtanen@dreamhost.com> | 2011-09-22 11:24:28 -0700 |
---|---|---|
committer | Tommi Virtanen <tommi.virtanen@dreamhost.com> | 2011-09-23 15:55:01 -0700 |
commit | c4166492abe93290ee84de33febfaad74b217955 (patch) | |
tree | f34ca295face43546c438a4759fe5552a0b4412a /doc/_templates | |
parent | b2d46ef35a93a8bb884c98546c2a526457584e65 (diff) | |
download | ceph-c4166492abe93290ee84de33febfaad74b217955.tar.gz |
doc: Add index into the sidebar.
Signed-off-by: Tommi Virtanen <tommi.virtanen@dreamhost.com>
Diffstat (limited to 'doc/_templates')
-rw-r--r-- | doc/_templates/smarttoc.html | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/_templates/smarttoc.html b/doc/_templates/smarttoc.html index eb7444afae6..8967e7f8868 100644 --- a/doc/_templates/smarttoc.html +++ b/doc/_templates/smarttoc.html @@ -11,3 +11,6 @@ #} <h3><a href="{{ pathto(master_doc) }}">{{ _('Table Of Contents') }}</a></h3> {{ toctree(maxdepth=-1) }} + +<!-- 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> |