jsonschema_diff.sphinx.directive¶
Sphinx directive to embed a Rich‑rendered JSON‑schema diff as SVG.
Usage:
.. jsonschemadiff:: old.json new.json
:name: my_diff.svg # optional custom file name (".svg" can be omitted)
:title: Schema Diff # title shown inside the virtual terminal tab
:no-body: # hide diff body, keep legend only
:no-legend: # hide legend, show body only
:width: 80% # pass through to the resulting <img> tag
All options are optional; sensible defaults are applied when omitted.
Classes¶
Embed an SVG diff between two JSON‑schema files. |