Mischback / mischback.de

My personal website
https://mischback.de
MIT License
1 stars 0 forks source link

Responsive Image Extension doesn't work for an image included in two different documents #120

Closed Mischback closed 5 months ago

Mischback commented 5 months ago

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(). The ref_path or the conversion into a Path object results in a non-existing path (below the document's own path).

To reproduce: