Is it possible to hide the sidebar when using Sphinx
with the ReadTheDocs
theme?
Extending the question a bit more, can I have it include the s
In the alabaster
theme, I was able to remove the TOC/sidebar by adding the following to my conf.py
file:
html_theme_options = {
# Disable showing the sidebar. Defaults to 'false'
'nosidebar': True,
}
I tested this in the sphinx_rtd_theme
and it did not work. However, I add this as an answer here as it might be helpful for others trying to remove the sidebar in other themes (as was the case for me).