Features#
ID |
Title |
Status |
Refinement |
---|---|---|---|
Connect Sphinx References in SVGs |
open |
||
Support Standard Sphinx References |
open |
||
Support Sphinx-Needs References |
open |
||
Configurable Verbose Logging |
open |
||
Handle Unresolved References Gracefully |
open |
This feature enables Sphinx documentation to automatically resolve and update cross-references (e.g., :ref:, :doc:) and Sphinx-Needs references within SVG diagrams. This allows users to create interactive, clickable diagrams that link directly to other parts of their documentation. |
The system shall identify and resolve standard Sphinx cross-references (:ref:, :doc:) found within xlink:href attributes of SVG elements. Resolved references will be replaced with their absolute or relative URIs. |
The system shall identify and resolve Sphinx-Needs references (:need:) found within xlink:href attributes of SVG elements, provided the needs_build_json configuration is enabled. |
The extension shall provide a configuration option (sphinx_diagram_connect_verbose) to enable or disable verbose logging of reference resolution operations during the Sphinx build process. This helps in debugging and understanding the extension’s behavior. |
The extension shall log a warning for any Sphinx or Sphinx-Needs references within SVG files that could not be resolved to a valid URI, without halting the build process. |