Skip to content

Conversation

@Astro-Kirsty
Copy link
Member

This is a first attempt at adjusting to use sphinx gallery. It was so hard to create a minimal PR as so many files will change!!!
We will have to remove many things

example.py ← Sphinx-Gallery input
example.ipynb ← optional executed notebook for download

Okay, so we want a .py file for each recipe.
Then we can pre-execute the .py with the .ipynb

I started here by adjusting the css and implementing the .py files with:
python /gammapy/dev/ipynb_to_gallery.py background_model.ipynb

The gallery looks like this currently;
image

The individual recipes have not been executed yet, so they do not show the correct content.

Signed-off-by: Astro-Kirsty <[email protected]>
@review-notebook-app
Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant