-
Notifications
You must be signed in to change notification settings - Fork 563
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
Compatibility issue with latest reveal.js release (script error)? #1003
Comments
From what I can read in the template code (not very familiar with the slides exporter) the code is expecting to run against ~3.5.0 and hasn't been tested for 3.8.0+: Ideally we should change the script to conditionally add that dependency depending on if if the reveal version is < 3.8. But in your case you're pulling master (not versioned / tested code) and expecting it to work with nbconvert which has not been tested with that code commit. I would pin reveal to <=3.7, or try pinning nbconvert back to 5.4 (not sure if the latter will solve anything). To pin reveal you can either remove the custom download and assignment of To pin nbconvert you can add |
Hi Matthew, thank you for your reply. Removing Thanks again! |
You could also make a new slides_reveal_3.8.tpl and use that when generating slides. Inside the new template you can remove the old dependencies. You can also overwrite the old prefix with a newer version up to 3.7... --reveal-prefix "https://cdn.jsdelivr.net/npm/reveal.js@3.7.0" |
I'm trying to publish a set of converted slides using GitHub Pages and deploying via TravisCI, and I've been successful in the past doing so, this is how I'm deploying on TravisCI:
However over the last 10 days the slides won't load and I keep getting the following recurring issues during deployment:
I am still able to deploy the slides locally, and they look as they should:
jupyter nbconvert *.ipynb --to slides --post serve
According to Hakim,
head.min.js
was removed from the latest reveal.js release. But I noticed thathead.min.js
is inserted into the html files of both the converted notebook slides and the index of the reveal.js submodule. Thus are the script errors the result of compatibility between reveal.js and nbconverter? What can I do to deploy the slides normally?The text was updated successfully, but these errors were encountered: