spatialaudio / nbsphinx

:ledger: Sphinx source parser for Jupyter notebooks
https://nbsphinx.readthedocs.io/
MIT License
453 stars 130 forks source link

Trying to work around upcoming changes in Sphinx 7.2.0 #756

Closed mgeier closed 1 year ago

mgeier commented 1 year ago

This doesn't work yet. The nbsphinx_gallery property doesn't seem to be propagated from ...

https://github.com/spatialaudio/nbsphinx/blob/55c48090f4dff967d1a9241fe60868c9ca097b64/src/nbsphinx/__init__.py#L1815

... to ...

https://github.com/spatialaudio/nbsphinx/blob/55c48090f4dff967d1a9241fe60868c9ca097b64/src/nbsphinx/__init__.py#L1494

Rendered: https://nbsphinx--756.org.readthedocs.build/en/756/gallery/gallery-with-nested-documents.html

See also #755.

mgeier commented 1 year ago

After the latest Sphinx changes, this seems to work now!