更改Sphinx的收藏夹图标阅读“文档”主题?

Pau*_*ems 5 python-sphinx read-the-docs

我已经在使用自定义CSS来覆盖使用的主题样式

def setup(app):
    app.add_css_file('custom.css')
Run Code Online (Sandbox Code Playgroud)

这很好。什么其他的应用程序。功能可用吗?我找不到任何文档。

我正在寻找功能来替代收藏夹图标。

Pau*_*ems 25

感谢@StevePiercy 我找到了这个文档:https ://www.sphinx-doc.org/en/master/usage/configuration.html#confval-html_favicon

配置文件

html_favicon = 'favicon.ico'
Run Code Online (Sandbox Code Playgroud)

我把favicon.ico我的source文件夹放在我的.rst-files 旁边,它按预期工作:https ://global-coffee-data-standard.readthedocs.io/en/latest/index.html