You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What is the intention? Should the book icon be used if site_favicon is not set? Or should it be completely disabled if site_favicon is not set? I think either the behavior should be modified to match the documentation, or the documentation should be updated to match the behavior.
I find it curious that this setting exists at all. While it certainly makes sense for users to be able to use their own custom favicon, it seems like that should be part of theme customization, not as a config setting.
Then, as a theme customization, a user could simply include there own favicon at docs/img/favicon.ico and their custom favicon will be used rather than the theme provided favicon (at least I'm assuming that it works that way based on how it works for other things). If course, if using a custom theme, the favicon could be included in the theme dir.
Not sure what value there is in also having a setting for it.
I'll also add that if the user has a need to use a different path/filename for their favicon (or no favicon at all), then that could also be addressed as a theme customization using the methods described in #607 (includes and/or blocks). Again, this removes the need for a favicon setting.
Would the project be open to a pull request that removes the site_favicon setting completely? Or is there a deprecation process that needs to be followed first?
It would be good to reconsider. I think most projects will want a different favicon than the stock one, and the favicon need not be an .ico file. It seems overkill to require theme customization for something so simple.
BTW, The readthedocs theme is still using the setting, it seems.
Activity
d0ugal commentedon Sep 11, 2015
Good question! I think we should update the theme to match the documentation.
Ultimately it is up to the theme how it wants to handle this, but we should do this for the mkdocs themes at least.
d0ugal commentedon Sep 11, 2015
(Sorry, accidental close)
waylan commentedon Sep 11, 2015
I find it curious that this setting exists at all. While it certainly makes sense for users to be able to use their own custom favicon, it seems like that should be part of theme customization, not as a config setting.
In fact, if the template was reduced to:
Then, as a theme customization, a user could simply include there own favicon at
docs/img/favicon.icoand their custom favicon will be used rather than the theme provided favicon (at least I'm assuming that it works that way based on how it works for other things). If course, if using a custom theme, the favicon could be included in the theme dir.Not sure what value there is in also having a setting for it.
waylan commentedon Sep 11, 2015
I'll also add that if the user has a need to use a different path/filename for their favicon (or no favicon at all), then that could also be addressed as a theme customization using the methods described in #607 (includes and/or blocks). Again, this removes the need for a favicon setting.
carlwgeorge commentedon Oct 6, 2015
Would the project be open to a pull request that removes the
site_faviconsetting completely? Or is there a deprecation process that needs to be followed first?d0ugal commentedon Oct 8, 2015
@carlgeorge we can probably remove it for version 1.0.
[-]favicon inconsistency[/-][+]Remove site_favicon[/+]waylan commentedon Aug 18, 2016
As we are deprecating a bunch of template vars in 0.16 (see #921 and #1026), I just changed the milestone for this to 0.16.
Deprecate `site_favicon` config setting and `favicon` template var
dragos commentedon Mar 28, 2018
It would be good to reconsider. I think most projects will want a different favicon than the stock one, and the favicon need not be an
.icofile. It seems overkill to require theme customization for something so simple.BTW, The
readthedocstheme is still using the setting, it seems.