Closed humitos closed 2 years ago
After the changes done in https://github.com/sphinx-doc/sphinx/pull/8737 the favicon and logo stop working properly on 404 pages.
We need to call our finalize_media function that overrides the pathto funcion in the context before Sphinx resolves the logo_url and favicon_url so it uses our overwritten pathto function.
finalize_media
pathto
logo_url
favicon_url
Closes #180
After the changes done in https://github.com/sphinx-doc/sphinx/pull/8737 the favicon and logo stop working properly on 404 pages.
We need to call our
finalize_media
function that overrides thepathto
funcion in the context before Sphinx resolves thelogo_url
andfavicon_url
so it uses our overwrittenpathto
function.Closes #180