I always struggle to get the URLs correct:
<script src="../../_static/docson/widget.js" data-schema="../network-package-schema.json"></script>
Today I finally realised that the src URL is relative to the location of the built HTML page and the data-schema URL is relative to the location of widget.js.
I always struggle to get the URLs correct:
Today I finally realised that the
srcURL is relative to the location of the built HTML page and thedata-schemaURL is relative to the location ofwidget.js.