-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix relative references in SVGs generated by sphinx.ext.graphviz
#11078
Fix relative references in SVGs generated by sphinx.ext.graphviz
#11078
Conversation
could this help? |
I don't think it does. It doesn't support svg files at the moment. And it seems to just fix paths for a very specific folder layout, whereas in this case we know exactly from which source document to which target folder relative reference need to be changed in sphinx, and what type of attributes can be affected, so searching svg (XML) with a regex sounds like a bad idea when we can instead specifically look for e.g. |
# Conflicts: # sphinx/ext/graphviz.py
sphinx.ext.graphviz
Thanks @Panaetius! A |
closes #11077