1

当我使用python-sphinx时,html是这样的,内容部分超出了界限。我怎么解决这个问题?在此处输入图像描述

4

1 回答 1

0

尝试在 conf.py 中设置以下选项:

html_theme_options = {
    "stickysidebar": "true"
}

这是“默认”主题的主题选项(这似乎是您正在使用的主题)。它使侧边栏固定且可水平滚动,并且长而不间断的文本块不会侵入主要内容区域。

请参阅http://sphinx-doc.org/config.html#confval-html_theme_optionshttp://sphinx-doc.org/theming.html#builtin-themes

于 2013-09-27T06:32:45.993 回答