-
Notifications
You must be signed in to change notification settings - Fork 517
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
Can we use the .ipynb notebooks in Binder? #190
Comments
I'm going to teach a course, and I was looking at the simplest way to reuse materials from the MOOC, and I agree that, in the long run it would be very nice if the binder was working as well as possible. So, if anyone has extra energy and want to improve things, as suggested above, I'm clearly supportive. |
Tips from my own course:
|
Thanks for the tips!
I only have one hour, and the participants are not technical at all. I
worry that I will loose too much time on having them install things
locally.
I'm warming the cache just before the course, I hope that it will work
well.
|
Actually I thought about a possible hack (if what we want is not easily doable within JupyterBook): rewrite the link target with some js in var el = document.getElementsByClassName('binder-button')[0] The URL is something like this: So we want to replace python_scripts -> notebooks and .py -> .ipynb and it should "just" work |
The easiest way to set up Binder was to use the
.py
files (loaded as notebook on the fly with Jupytext). Basically the generated URL reuse the file it was generated from.That means that the logic to keep nice-looking admonitions in https://github.com/INRIA/scikit-learn-mooc/blob/master/build_tools/convert-python-script-to-notebook.py is not applied. Probably not that high-priority as Binder is used as a fall-back solution.
The text was updated successfully, but these errors were encountered: