Repository navigation
Furo "extrahead" is placed in a different template than what Sphinx suggests #930
Unanswered
massarom
asked this question in
Potential Issue
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I ran into this problem today while trying to add something to all
<head>tags in a project I'm working on.Furo's own docs suggest using the default Sphinx's templating system (or that's how I interpret that section). So I went to Sphinx's templating docs, and there you are advised to use
layout.htmlwhich has an emptyextraheadblock precisely for such use-cases. For some reason though, according to #72, Furo places this block inbase.html, which is confusing.It took me a bit to figure this out, because I was not expecting a theme to change the base building blocks of Sphinx templates, especially since you are encouraged to use those.
If for whatever technical reason using
base.htmlis mandatory, andlayout.htmlis ignored, at least this should be spelled out in the same section about HTML templates with something like "use all normal Sphinx templates, except in these cases/with these caveats in mind".Hope the problem is clear enough :)
All reactions