我查了一下这三个地方,没有找到对应的参数:
https://pypi.org/project/sphinx-rtd-theme/
https://github.com/readthedocs/sphinx_r ... guring.rst
https://sphinx-rtd-theme.readthedocs.io ... uring.html
下面是改的右侧内容部分的宽度,不是左侧sidebar的宽度:
https://stackoverflow.com/questions/232 ... d-the-docs
这个是增加了一个滚动条,而不是改宽度:
https://stackoverflow.com/questions/646 ... hinx-rtd-t
我尝试在conf.py文件中的html_theme_options下面加上一行:
‘sidebarwidth’: '50',
然后 make html,运行时会按make clean html命令运行,但生成的html文件没有任何改变,我怀疑是这个参数被sphinx_rtd_theme给覆盖了~
sphinx_rtd_theme 如何修改左侧 sidebar 的宽度
- 驿窗project
- 帖子: 226
- 注册时间: 2019-01-17 12:17
- 系统: Arch/Debian
- 联系: