You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sphinx-gallery allows for automatic ipynb generation and adds the computes ipynb files in the auto_examples directory. I have now a ipynb that I want to statically add to the exisiting generated examples. I could add it manually after the notebooks have been generated but wondered if there is another option to embedd the notebook into the existing gallery? Many thanks!
Edit: I checked the discussion here #245 and tested the mentioned conversion file: https://gist.github.com/chsasank/7218ca16f8d022e02a9c0deb94a310fe However, this is not directly solving the issue that I have a couple of figures pre-computed in the ipynb, that should not be recomputed in the generated .py file. So I basically just looking for a simple method to include the .ipynb file in the existing gallery.
The text was updated successfully, but these errors were encountered:
There is no option to do this. I think the most flexible option for use cases like this is hooking into Sphinx's event system to either modify the loaded RST on the fly and add what you want where you want it, and copy the files where they need to go.
Sphinx-gallery allows for automatic ipynb generation and adds the computes ipynb files in the
auto_examples
directory. I have now a ipynb that I want to statically add to the exisiting generated examples. I could add it manually after the notebooks have been generated but wondered if there is another option to embedd the notebook into the existing gallery? Many thanks!Edit: I checked the discussion here #245 and tested the mentioned conversion file: https://gist.github.com/chsasank/7218ca16f8d022e02a9c0deb94a310fe However, this is not directly solving the issue that I have a couple of figures pre-computed in the ipynb, that should not be recomputed in the generated .py file. So I basically just looking for a simple method to include the .ipynb file in the existing gallery.
The text was updated successfully, but these errors were encountered: