分页: 1 / 1

sphinx生成html页面时,如何去掉页面右下角的“Created using Sphinx 1.7.9.”字样?

发表于 : 2020-10-23 15:53
驿窗project
用reST+sphinx制作的html文档,使用bizstyle theme,生成的html页面上,在右下角有一个条目,叫做“Created using Sphinx 1.7.9.
这个信息应该能通过sphinx中某个开关来去掉,但我一直没找到去掉的方法~

请参考这个页面的最右下角:
https://pypubsub.readthedocs.io/en/v4.0.3/

Re: sphinx生成html页面时,如何去掉页面右下角的“Created using Sphinx 1.7.9.”字样?

发表于 : 2020-10-23 16:28
oneleaf
https://www.sphinx-doc.org/en/master/us ... how_sphinx

html_show_sphinx¶
If true, “Created using Sphinx” is shown in the HTML footer. Default is True.

New in version 0.4.

Re: sphinx生成html页面时,如何去掉页面右下角的“Created using Sphinx 1.7.9.”字样?

发表于 : 2020-10-23 18:05
驿窗project
果然是这个参数~
我在conf.py文件添加了下面一行:

代码: 全选

html_use_index = False
然后重新 make html,生成的新的HTML页面,已经没有“Created using Sphinx 1.7.9.”的提示了~

不过这个参数很明显,我反复查找都没找到,这没道理~
难道是因为我不会编程么?或者是搜索关键词不对?
你是怎样一步一步找到这个参数的?

另外,你有收款码没?我小额表示一下~