What’s new in 0.3.0 (Sep 05, 2024)#

Configuration variables#

  • Adding a new configuration variable myst_sphinx_gallery_files_config to specify the configuration for each file in the gallery.

  • myst_sphinx_gallery_config now can left examples and galleries dictionaries be None, which will serve as a pure global configuration.

Deprecation#

In this release, we have changed the style of the gallery cards from the Sphinx-Design to Sphinx Gallery.

Therefore, toc_tree, grid, and grid_item_card now not suggested to be used by user in the gallery configuration. It will only be internally used by program.

Besides, the style parameters, like margin, padding, and gutter parameters in the Grid and GridItemCard are deprecated. This can avoid wired layout in the gallery cards with new style. Instead, we suggest to use CSS to adjust the layout of gallery cards. More details can be found in the Customizing Style of Thumbnail and Card section.