Thanks to visit codestin.com
Credit goes to github.com

Skip to content

DOC: Systemic fix for missing thumbnails in user_interfaces gallery examples #31378

@buddy0452004

Description

@buddy0452004

Following the discussion in #17479, I'd like to propose a systemic approach to fixing missing thumbnails for the sgskip examples in the user_interfaces gallery.

Problem

Most examples in galleries/examples/user_interfaces/ have _sgskip suffix, meaning sphinx-gallery skips running them and no thumbnail is auto-generated. This leaves them without preview images in the gallery.

Proposed Plan

For each example, use sphinx_gallery_thumbnail_path in the docstring pointing to a manually captured screenshot saved in the images/ folder.

Examples I can cover:

Examples needing GTK/wx contributors:

  • All gtk3/gtk4 examples (Linux only)
  • All wx examples (need wxPython)

Question

Should the screenshots be PNG or can SVG be used directly for the svg_* examples?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions