files add through spinx's app.add_js_file
are added to body not the header.
#850
Unanswered
lukasturcani
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
-
Hello,
I believe themes should insert header files added via
app.add_js_file
into the header. In furo my files get added to the body instead. This is an issue if an extension requires a setup script in the header.For an example:
Open
tests/build/html/index.html
.Open developer tools and notice that files add with
add_js_file
are in thebody
section of the HTML not in theheader
If you change the theme to alabaster or something else, you will notice that the files are in the
header
Beta Was this translation helpful? Give feedback.
All reactions