From 14b9d7ff3e634c3d7b5d5164d8a29414a74ccc77 Mon Sep 17 00:00:00 2001 From: Gregory Haynes Date: Thu, 6 Oct 2016 13:54:28 -0700 Subject: [PATCH] Use globaltoc in docs for sidebar By default sphinx uses localtoc which means 'show TOC for this page'. Using a global table of contents on the sidebar is much more user friendly wih our docs structure. Change-Id: I215732d3848b4b75d9171bdbaaf2ff2e4dcc01f0 --- doc/source/conf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/source/conf.py b/doc/source/conf.py index 88cd76824..7577476ba 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -124,7 +124,7 @@ html_theme = 'default' #html_use_smartypants = True # Custom sidebar templates, maps document names to template names. -#html_sidebars = {} +html_sidebars = { '**': ['globaltoc.html', 'relations.html', 'sourcelink.html', 'searchbox.html'], } # Additional templates that should be rendered to pages, maps page names to # template names.