diff options
author | 2017-03-13 23:54:03 +0530 | |
---|---|---|
committer | 2017-03-20 14:30:08 +0000 | |
commit | c29713cfa0bd997fe2034a7feb984fda688df303 (patch) | |
tree | 7f5ab5d3d1956cd3716eb3001b9ff98a08e72b5f /docs | |
parent | 439d1fc6048cad8a0c31016d87442a57651d6d48 (diff) |
Add Sidebar
Change-Id: I1425eda919f49cbc82d1ab60ef91324d9afee041
Signed-off-by: ShubhamRathi <shubhamiiitbackup@gmail.com>
(cherry picked from commit 43b90b762d5df17fac7395a709b5262b51c04375)
Diffstat (limited to 'docs')
-rw-r--r-- | docs/_templates/my_custom_sidebar.html | 3 | ||||
-rw-r--r-- | docs/conf.py | 1 |
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 = [] |