Fix image collection and processing in image srcsets.

Review Request #12851 — Created Feb. 27, 2023 and submitted — Latest diff uploaded

Information

beanbag-docutils
master

Reviewers

The new support for image srcsets had issues with generated filenames
when auto-scanning for multi-DPI images, and didn't copy them to the
destination.

This fixes both those issues, ensuring we can build documentation
reliably with multi-DPI images in all situations.

Unit tests passed.

Built the Review Board documentation and verified that all available
multi-DPI images were copied to the destination and included in the
page.

Diff Revision 1

This is not the most recent revision of the diff. The latest diff is revision 2. See what's changed.

orig
1
2

Commits

First Last Summary ID Author
Fix image collection and processing in image srcsets.
The new support for image srcsets had issues with generated filenames when auto-scanning for multi-DPI images, and didn't copy them to the destination. This fixes both those issues, ensuring we can build documentation reliably with multi-DPI images in all situations.
f1f7b1b1b195b32f5d4963cbc7a5e38ebc719f02 Christian Hammond
beanbag_docutils/sphinx/ext/image_srcsets.py
Loading...