9
我使用的是良好的sphinx-bootstrap-theme 0.3.4,并试图将其应用于Sphinx Python Documentation Generator 1.2版本之上。在基于sphinx-bootstrap-theme的Python-Sphinx文档中启用侧边栏
当我通过make html
构建文档时,虽然在此example中显示可能,但我没有得到任何侧边栏。我也没有找到任何选项来在构建配置文件(conf.py)中启用侧边栏。 执行以下操作:
html_sidebars = {'sidebar': ['localtoc.html', 'sourcelink.html', 'searchbox.html']}
没有帮助。
感谢您提供关于如何从这样的狮身人面像主题启用边栏的提示。
它抛出错误'theme_globaltoc_depth'。为了以防万一,请将其移除。 –