Debian Codegraph @

docs/examples/no-sidebar.md

raw
1 # Test of no sidebar
2
3 This page shows off what the documentation looks like when you explicitly tell Sphinx not to include any sidebars via the following configuration:
4
5 ```python
6 html_sidebars = {
7 "path/to/page": [],
8 }
9 html_theme_options = {
10 "secondary_sidebar_items": {
11 "path/to/page": [],
12 },
13 }
14 ```
15
16 Both the primary and secondary sidebars should be entirely gone, and the main content should expand slightly to make up the extra space.