Skip to main content
Ctrl+K
MyST Sphinx Gallery v0.3.0 documentation - Home
  • User Guide
  • Demo Gallery
  • API Reference
  • Contributing Guide
  • About
  • GitHub
  • PyPI
  • User Guide
  • Demo Gallery
  • API Reference
  • Contributing Guide
  • About
  • GitHub
  • PyPI

MyST Sphinx Gallery#

https://img.shields.io/badge/recipe-myst--sphinx--gallery-green.svg https://readthedocs.org/projects/myst-sphinx-gallery/badge/?version=latest https://img.shields.io/conda/vn/conda-forge/myst-sphinx-gallery.svg https://img.shields.io/pypi/v/myst-sphinx-gallery https://img.shields.io/conda/dn/conda-forge/myst-sphinx-gallery.svg https://github.com/Fanchengyan/myst-sphinx-gallery/actions/workflows/tests.yml/badge.svg https://codecov.io/gh/Fanchengyan/myst-sphinx-gallery/graph/badge.svg?token=IHXYE1K1G9

Introduction#

MyST Sphinx Gallery is a Sphinx extension that allows you to build galleries from jupyter notebooks (.ipynb), markdown (.md) or reStructuredText (.rst) files.

This extension is functionally similar to the Sphinx-Gallery extension, but aim to provide a simple and efficient way to create galleries written in a variety of formats.

Highlight Features#

  • Easy to use - It provides a set of directives to generate galleries, as simple as adding toctree.

  • Flexible - You can easily generate a gallery of examples from your Jupyter Notebooks, Markdown, or reStructuredText files. It works with MyST ecosystem, including MyST-parser and MyST-NB, to render markdown or jupyter notebooks in Sphinx documentation.

  • Fast and robust - It utilizes existing images to generate gallery thumbnails, eliminating code execution delays and potential accidental errors when building gallery.

  • Customizable - You can customize the gallery, such as thumbnail selection, and style of the gallery.

Navigation#

Quick Start

Learn how to install and use MyST Sphinx Gallery to generate galleries, and customize it.

To the Quick Start

Gallery Example

Explore the Demo Gallery, showcasing gallery directives, thumbnail selection strategies, and options effects.

To the Gallery Example

API Reference

Detailed API documentation for MyST Sphinx Gallery.

To the API Reference

Developer Guide

Do you want to contribute to MyST Sphinx Gallery? Check out the contributing guide.

To the Contributing Guide

next

User Guide

On this page
  • Introduction
  • Highlight Features
  • Navigation
Edit on GitHub
Show Source

© Copyright 2024, Fan Chengyan (Fancy).

Created using Sphinx 8.0.2.

Built with the PyData Sphinx Theme 0.15.4.