beanbag-docutils 2.3: Sphinx 7.2, Image Dimensions
beanbag-docutils 2.3 is a small feature and compatibility release:
-
Added Support for Sphinx 7.2
-
Images with widths/heights now have width and height attributes set.
Sphinx turns widths and heights into
style="width: ...; height: ..."
attributes, but does not set the dedicatedwidth
andheight
attributes. These attributes are helpful for the browser when computing layout and aspect ratios, and are not deprecated or strictly interchangeable with the CSS styles.This extension now sets these attributes and strips them out of any CSS styling.
Installation
$ pip3 install beanbag-docutils==2.3