Right now, the favicon shows for top-level files, but not for generated API docs under /reference. You can currently see this for the docs for this repo itself:
When I make the change suggested above (prepending {{root}} to img/favicon.ico → {{root}}img/favicon.ico) to the template in one of my own projects, the favicon now works correctly for both top-level files and API docs.
Should this
https://github.com/fsprojects/FSharp.Formatting/blob/d0ac84e3a39221cc536d34a57e3f0f9dfec0f2df/docs/_template.html#L16
instead be something like
?
Right now, the favicon shows for top-level files, but not for generated API docs under
/reference
. You can currently see this for the docs for this repo itself:Compare https://fsprojects.github.io/FSharp.Formatting/ with favicon
But https://fsprojects.github.io/FSharp.Formatting/reference/index.html without
When I make the change suggested above (prepending
{{root}}
toimg/favicon.ico
→{{root}}img/favicon.ico
) to the template in one of my own projects, the favicon now works correctly for both top-level files and API docs.