Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow linking custom JavaScript files to html builds #437

Open
choldgraf opened this issue Jul 28, 2024 · 1 comment
Open

Allow linking custom JavaScript files to html builds #437

choldgraf opened this issue Jul 28, 2024 · 1 comment

Comments

@choldgraf
Copy link
Contributor

choldgraf commented Jul 28, 2024

Some authors may wish to load custom JavaScript with their sites. For example if there is a non-standard visualization library that can only work if you load JS manually on the page.

In Sphinx this is accomplished with the html_js_files flag.

@choldgraf choldgraf changed the title Custom js Allow linking custom JavaScript files to html builds Jul 28, 2024
@nthiery
Copy link

nthiery commented Jul 28, 2024

And in JupyterBook: https://jupyterbook.org/en/stable/advanced/html.html#custom-css-or-javascript

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Needed for beta
Development

No branches or pull requests

2 participants