-
-
Notifications
You must be signed in to change notification settings - Fork 713
Run the tutorial on CI #144
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
Conversation
1. Sets nbsphinx execute to true 2. Changes solution cells to be hidden in the source, rather than `%load` magics. For now, I've skipped execution of the ML notebook. It really is written to be run on a cluster at the moment, and will need some restructructing. I'll do that in a followup.
|
Check out this pull request on You'll be able to see Jupyter notebook diff and discuss changes. Powered by ReviewNB. |
| "# Your parallel code here..." | ||
| ] | ||
| }, | ||
| { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It doesn't show up well in nbsphinx, but this cell is hidden in Jupyterlab. Not sure what it will look like in the rendered version, but it'll probably be visible, and that's probably what we want.
Reply via ReviewNB
| { | ||
| "cell_type": "code", | ||
| "execution_count": null, | ||
| "metadata": {}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unfortunately, I had to comment this out to avoid hanging while executing the notebook. I think that's an acceptable tradeoff.
AFAICT, nbsphinx can't skip execution of individual cells.
Reply via ReviewNB
| "\n", | ||
| "## Exercise: Print `Hello, world!`\n", | ||
| "Each notebook will have exercises for you to solve. You'll be given a blank or partially completed cell, followed by a \"magic\" cell that will load the solution. For example\n", | ||
| "Each notebook will have exercises for you to solve. You'll be given a blank or partially completed cell, followed by a hidden cell with a solution. For example.\n", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice change :)
No description provided.