images
images copied to clipboard
impossible to build doc using *
I want to build my documentation using GIF images. GIF are natively not supported by latex. a wrokaround suggested by the sphinx team is the following:
Sphinx extends the standard docutils behavior by allowing an asterisk for the extension:
.. image:: gnu.*
Sphinx then searches for all images matching the provided pattern and determines their type. Each builder then chooses the best image out of these candidates. For instance, if the file name gnu.* was given and two files gnu.pdf and gnu.png existed in the source tree, the LaTeX builder would choose the former, while the HTML builder would prefer the latter. Supported image types and choosing priority are defined at Available builders.
When I try to use this method with the lib I get the following error:
ValueError: Image URI `_images/google.*` have to be local relative or absolute path to image, or remote address.
It's coming from this function that doesn't test for "*" files.