Repository navigation
Docs: plain, still thumbnails on the demos index - #980
Merged
Merged
Conversation
- Demo thumbnails are plain images with the title under them, like the home page's "From real scans" strip: no frames, shadows, centred titles or hover overlay. - Animated thumbnails become still (the frame that shows most of the object); a dozen images no longer move at once. The animations stay on the demo pages. - Demos shown without output get a grey TIGRE icon instead of sphinx-gallery's blue and yellow placeholder (default_thumb_file for new renders, and a build step for the stored ones). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01L6n1VKzc1MHHkq9EuERTD3
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What does this PR do?
Item 1 of the 28 Nov website review: the demos index looked like an unstyled template next to the rest of the site.
docs/_static/demo-no-output.png, 400×280, made fromtigre-icon.svg).default_thumb_fileuses it for newly rendered demos; the same build step swaps it in for the stored ones ondocs-demos.The build step (
_demo_thumbnailsinconf.py) only touches_images/sphx_glr_*_thumb.*in the built site; nothing indocs/demosor thedocs-demosbranch changes. It uses NumPy and Pillow, both already in the docs requirements.Which parts of TIGRE does it touch?
Common/CUDA)Checklist
sphinx-build -W --keep-going -Epasses; checked by screenshots in light and dark mode and at phone width.changelog.md: none, the website is not part of a release.Test environment
An AI coding agent (Claude) wrote this change. The maintainer reviewed screenshots before it was pushed.
🤖 Generated with Claude Code
https://claude.ai/code/session_01L6n1VKzc1MHHkq9EuERTD3