summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorSofia Wallin <sofia.wallin@ericsson.com>2017-03-15 14:40:15 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-03-15 14:40:15 +0000
commit5e95ebfdc95a83a2d14f1321072aaac84cbe03cd (patch)
treea78ac7ba8bcef2cb8c758a81609cf4476f4f4339 /docs
parentd639d1000eec9aa9cee10fd932b80034aa0f9da0 (diff)
parent43b90b762d5df17fac7395a709b5262b51c04375 (diff)
Merge "Add Sidebar"
Diffstat (limited to 'docs')
-rw-r--r--docs/_templates/my_custom_sidebar.html3
-rw-r--r--docs/conf.py1
2 files changed, 4 insertions, 0 deletions
diff --git a/docs/_templates/my_custom_sidebar.html b/docs/_templates/my_custom_sidebar.html
new file mode 100644
index 000000000..6b259bc93
--- /dev/null
+++ b/docs/_templates/my_custom_sidebar.html
@@ -0,0 +1,3 @@
+<ul class="globaltoc">
+{{ toctree(maxdepth=theme_globaltoc_depth|toint, collapse=False,includehidden=theme_globaltoc_includehidden|tobool) }}
+</ul> \ No newline at end of file
diff --git a/docs/conf.py b/docs/conf.py
index 72bc27fb5..3060d82a1 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -263,6 +263,7 @@ texinfo_documents = [
'Miscellaneous'),
]
+html_sidebars = {'**': ['my_custom_sidebar.html']}
# Documents to append as an appendix to all manuals.
# texinfo_appendices = []