Configuration Variables#

MyST Sphinx Gallery has two main configuration variables that can be set in your conf.py file.

  • myst_sphinx_gallery_config : global configuration for all examples using gallery directives or used to generate galleries.

  • myst_sphinx_gallery_files_config : configuration for individual files to override the global configuration for those files.

Hint

Those two variables are optional and can be omitted if you don’t need to customize the behavior of MyST Sphinx Gallery.