How to change the icon for a sphinx-generated page?

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='' />

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?

1 answer

  • answered 2022-05-05 18:29 user1479670

    I found the solution to my problem.

    In you can set the entry html_favicon.

    In my case I set:

    html_favicon = `' 

    Now the generated page has the specified icon.

How many English words
do you know?
Test your English vocabulary size, and measure
how many words do you know
Online Test
Powered by Examplum