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 2 (Latest)

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.
d73727171ab9e9fd010dbd44091fbfd99b2556d7 Christian Hammond
beanbag_docutils/sphinx/ext/image_srcsets.py
Loading...