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
For building matlab documentation (which I believe is similar to HTMLHelp), I found that it is possible to hide the side-bar using a additional CSS:
.wy-nav-side {
display: none;
}
.wy-nav-content-wrap {
margin-left: 0;
}
Then in the conf.py
file I added the CSS file:
html_static_path = ['_static']
html_css_files = [
'css/matlabdoc.css',
]
This doesn't remove the side-bar, but at least it hides it. Might help.
Looking through the RTD theme, it might also be possible to remove the side-bar
by changing the search.html
and localtoc.html
default files in conf.py
by setting them with html_sidebars = {}
.