如何更改狮身人面像生成的页面的图标?
我希望我的狮身人面像生成的网页具有特定的图标。 在我的其他网页中,我
<link rel='icon' type='image/png' href='http://aim-bigfoot.uzh.ch/~docs/path/to/icon/favicon.png' />
在&lt; head&gt;
标签中具有线条。
是否可以修改模板或配置文件将此行插入结果的HTML文件中?
I would like my sphinx-generated web page to have a particular icon.
In my other web pages i have the line
<link rel='icon' type='image/png' href='http://aim-bigfoot.uzh.ch/~docs/path/to/icon/favicon.png' />
inside the <head>
tag.
Is there a way to modify a template or a config file to have this line inserted in the resulting html file?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我找到了解决问题的解决方案。
在conf.py中,您可以设置条目
html_favicon
。就我而言,我设置了:
现在生成的页面具有指定的图标。
I found the solution to my problem.
In conf.py you can set the entry
html_favicon
.In my case I set:
Now the generated page has the specified icon.