While working on the category overviews, an existing image was included for testing. However, on running Sphinx, only one instance of the image was picked up by the extension, the other got marked as No responsive image sources, creating non-responsive image for ....
Quick Research
The problem might be in ResponsiveImageCollector.collect_source(). The ref_path or the conversion into a Path object results in a non-existing path (below the document's own path).
To reproduce:
turn on Sphinx's verbose logging
check the extension's logging messages for Responsive image source not found: [PATH]
Description
While working on the category overviews, an existing image was included for testing. However, on running Sphinx, only one instance of the image was picked up by the extension, the other got marked as
No responsive image sources, creating non-responsive image for ...
.Quick Research
The problem might be in
ResponsiveImageCollector.collect_source()
. Theref_path
or the conversion into aPath
object results in a non-existing path (below the document's own path).To reproduce:
verbose
loggingResponsive image source not found: [PATH]