Example Gallery: Strategy and Reasoning #116
Replies: 11 comments
-
Compary my issue here: Embedding images in We will not be using these packages. |
Beta Was this translation helpful? Give feedback.
-
This package is by far the most powerful when rendering Jupyter Notebooks with embedded markdown. It is also part of the
We will wait until |
Beta Was this translation helpful? Give feedback.
-
For now, the This means that for now, the notebooks are not executed upon build and the gallery is not built automatically. However, it also means that building the gallery can be accomplished in |
Beta Was this translation helpful? Give feedback.
-
Tradeoffs:
|
Beta Was this translation helpful? Give feedback.
-
Decision
|
Beta Was this translation helpful? Give feedback.
-
...the PyMC documentation has their examples in a separate repository: pymc-examples
...currently, they are using their own script: pymc-examples/sphinxext/thumbnail_extractor.py |
Beta Was this translation helpful? Give feedback.
-
https://myst-nb.readthedocs.io/en/latest/authoring/text-notebooks.html |
Beta Was this translation helpful? Give feedback.
-
@michaelweinold Could you add a brief note on the advantage of these MyST notebooks versus standard notebooks (sorry if this is obvious to you but it wasn't to me). I also see an easy conversion to Jupyter Notebooks, but can we also convert the other way. We don't really want to rewrite working example notebooks unless absolutely necessary. |
Beta Was this translation helpful? Give feedback.
-
@cmutel, the primary advantage is better diffing. While GitHub will likely release their current Jupyter Notebook Diff feature preview later this year, this would still leave local editors at a disadvantage. Working with In the bigger picture, I doubt if we can transfer the present notebooks to either the JupterBook site or the JupyterLite hub site without 'renovating' them. This issue here is helping me collect information on the two options we have to use Jupyter Notebooks with the Sphinx documentation. |
Beta Was this translation helpful? Give feedback.
-
My discussion in the Executablebooks repo: Potentially relevant: https://sphinx-design.readthedocs.io/en/pydata-theme/css_classes.html#avatars |
Beta Was this translation helpful? Give feedback.
-
Add a gallery like in e.g.
pvlib
. Potential packages:sphinx-gallery
,nbsphinx
,myst-nb
.See also this comparison.
Excellent example: ArviZ documentation example gallery
Beta Was this translation helpful? Give feedback.
All reactions