Skip to content

Instantly share code, notes, and snippets.

@smsharma
Last active February 17, 2019 18:17
Show Gist options
  • Save smsharma/29078ed53b9dd8528fc4c6590c10b996 to your computer and use it in GitHub Desktop.
Save smsharma/29078ed53b9dd8528fc4c6590c10b996 to your computer and use it in GitHub Desktop.
jupyter nbconvert --to rst examples/*.ipynb
rm -r docs/Example*
mv examples/*rst examples/*_files docs/
cd docs/
perl -pi -w -e 's/.. code:: ipython3/.. code:: python/g;' *.rst
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment