-
Notifications
You must be signed in to change notification settings - Fork 0
Demo workflow with ma-tutorial #2
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
jupytext -k python3 --from notebook --to myst *.ipynb
Provides more options for buttons in theme. Enable download and github interaction buttons.
Will need some tweaking to get this configured properly.
Demo theme button.
Build sphinx site.
A workflow geared towards review etc. on GitHub, relying on CI services to do the execution and site building. Not ideal, but a good starting point for discussion.
Mystify: sphinx+.md inputs workflow
Tests workflow and github action for nbval.
jupytext -k python3 --from notebook --to myst tutorial-ma.ipynb
Modify tutorial and build workflow accordingly.
|
The workflow I have set up here looks like this:
By no means is this the only workflow. In fact I think it's best for the site to be independent of the notebooks, but I'm still experimenting with different approaches. Re: download/launch links - this site uses the sphinx-book-theme which is based on the |
|
I didn't realize this was still open - we're well past this point :) |
Grabbed ma-tutorial proposal from numpy#29 and used it here as the basis for demonstrating a sphinx-based workflow.
The source file is in text-based notebook format (md) converted with
jupytext(i.e.jupytext -k python3 --from notebook --to myst content/tutorial-ma.ipynb)