Groups
Groups
Sign in
Groups
Groups
sphinx-users
Conversations
About
Send feedback
Help
embed javascript in html?
14 views
Skip to first unread message
Nadia Pranabudi
unread,
Mar 2, 2020, 8:20:35 PM
3/2/20
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to sphinx-users
Hi!
Rather than creating external javascript files, is there a way to have them embedded in the html files?
Thanks!!
Nadia
Komiya Takeshi
unread,
Mar 5, 2020, 8:10:16 AM
3/5/20
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to sphinx...@googlegroups.com
Hi,
You can embed JavaScript into HTML files directly using
`Sphinx.add_js_file()` API.
https://www.sphinx-doc.org/en/master/extdev/appapi.html#sphinx.application.Sphinx.add_js_file
Thanks,
Takeshi KOMIYA
2020年3月3日(火) 10:20 Nadia Pranabudi <
npran...@gmail.com
>:
> --
> You received this message because you are subscribed to the Google Groups "sphinx-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to
sphinx-users...@googlegroups.com
.
> To view this discussion on the web visit
https://groups.google.com/d/msgid/sphinx-users/c975f901-a69f-4187-8bcd-5fd935f54bb8%40googlegroups.com
.
Reply all
Reply to author
Forward
0 new messages