modelmat / sphinxcontrib-drawio

Sphinx extension for including draw.io files.
MIT License
39 stars 17 forks source link

Fix not-working imgconverter #63

Closed modelmat closed 1 year ago

modelmat commented 3 years ago

Tests were disabled, see 3418d45 (#62)..

modelmat commented 1 year ago

I'm not sure why this ever (should have) worked.

If you looks at the source code, the image converter only converts images if they are not supported by the current builder (html/latex/whatever). HTML has always support SVG exports, so this should never convert it.

Looking at the git blame ... https://github.com/sphinx-doc/sphinx/pull/9106 is what breaks it