14 Page Without Sidebar#

This page has no sidebar, because an empty list of sidebar templates was chosen for html_sidebars in conf.py:

Listing 14.1 conf.py#
70html_sidebars = {
71   '**': [
72       'github-badge.html',  # Custom template, see _templates/
73       'home.html',
74       'globaltoc.html',
75       'separator.html',
76       'indices.html',
77   ],
78   'showcase/different-sidebar': [
79       'localtoc.html',
80       'searchbox.html',
81   ],
82   'showcase/no-sidebar': [],
83}

If you don’t want to show the sidebar at all, you can disable it globally with the theme option nosidebar.