summaryrefslogtreecommitdiff
path: root/doc/_templates
diff options
context:
space:
mode:
authorTommi Virtanen <tommi.virtanen@dreamhost.com>2011-09-22 11:24:28 -0700
committerTommi Virtanen <tommi.virtanen@dreamhost.com>2011-09-23 15:55:01 -0700
commitc4166492abe93290ee84de33febfaad74b217955 (patch)
treef34ca295face43546c438a4759fe5552a0b4412a /doc/_templates
parentb2d46ef35a93a8bb884c98546c2a526457584e65 (diff)
downloadceph-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.html3
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>