Reputation: 1601
I have added a sidebar to my sphinx-documentation by appending the following to conf.py
html_sidebars = {'**': ['my_custom_sidebar.html']}
This causes the sidebar to show on all pages. I want this sidebar to show on all pages except the index page. How do I do this?
Upvotes: 2
Views: 259
Reputation: 749
check this answer: Sphinx exclude one Page from html_sidebars
I got it to work using Chris Bay's code:
html_sidebars = {
'**': ['localtoc.html'],
'index': []
}
Upvotes: 1