For PyMC we're using myst_nb, but we'd like to use the gallery feature from nbsphinx. There is a hack that allows to use the two in tandem and only use gallery feature from nbsphinx. That works and creates a gallery, however, it doesn't extract thumbnails specified via metadata tags. It seems like the NB is never actually parsed.
However, it does work if I specify the thumbnails directly in conf.py via nbsphinx_thumbnails.
I'm posting here to get some help in case it's obvious to anyone that it's not working because I forgot to X.
For PyMC we're using
myst_nb
, but we'd like to use the gallery feature fromnbsphinx
. There is a hack that allows to use the two in tandem and only use gallery feature from nbsphinx. That works and creates a gallery, however, it doesn't extract thumbnails specified via metadata tags. It seems like the NB is never actually parsed.However, it does work if I specify the thumbnails directly in
conf.py
vianbsphinx_thumbnails
.I'm posting here to get some help in case it's obvious to anyone that it's not working because I forgot to X.
Here's the current PR: https://github.com/pymc-devs/pymc-examples/pull/328 Here's the PR I got the hack from: https://github.com/PlasmaPy/PlasmaPy/pull/1474#issuecomment-1062476158 Related issue: https://github.com/executablebooks/MyST-NB/issues/396