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

Section Navigation

Thumbnail selection strategies

  • Using alt attribute
    • Rst Image Directive
    • Rst Figure Directive
    • Markdown Conventional Image Syntax
    • Markdown Image Directive
    • Markdown Figure Directive
    • Notebook Conventional Image Syntax
    • Notebook Image Directive
    • Notebook Figure Directive
  • first/last Strategy
    • first strategy
    • last strategy
  • Code/Markdown Strategy for Notebooks
    • code | first strategy
    • code | last strategy
    • markdown | first strategy
    • markdown | last strategy
    • markdown | alt strategy
  • Default Gallery Thumbnail
    • Default Thumbnail

Ref Gallery

  • Using ref-gallery in Python Docs
  • ref-gallery in RST files
  • Demo Gallery
  • Default...

Default Gallery Thumbnail#

This section tests the cases where the example files do not have any images in them. The gallery should use the default image in this case.

Code for this gallery

The code for this gallery is:

index.rst#
.. base-gallery::
    :tooltip:

    no_image
Default Thumbnail
no_image.html

previous

markdown | alt strategy

next

Default Thumbnail

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.