diff --git a/docs/assets/icons.js b/docs/assets/icons.js new file mode 100644 index 0000000..b79c9e8 --- /dev/null +++ b/docs/assets/icons.js @@ -0,0 +1,15 @@ +(function(svg) { + svg.innerHTML = ``; + svg.style.display = 'none'; + if (location.protocol === 'file:') { + if (document.readyState === 'loading') document.addEventListener('DOMContentLoaded', updateUseElements); + else updateUseElements() + function updateUseElements() { + document.querySelectorAll('use').forEach(el => { + if (el.getAttribute('href').includes('#icon-')) { + el.setAttribute('href', el.getAttribute('href').replace(/.*#/, '#')); + } + }); + } + } +})(document.body.appendChild(document.createElementNS('http://www.w3.org/2000/svg', 'svg'))) \ No newline at end of file diff --git a/docs/assets/icons.svg b/docs/assets/icons.svg new file mode 100644 index 0000000..7dead61 --- /dev/null +++ b/docs/assets/icons.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/docs/assets/navigation.js b/docs/assets/navigation.js new file mode 100644 index 0000000..d9199fd --- /dev/null +++ b/docs/assets/navigation.js @@ -0,0 +1 @@ +window.navigationData = "data:application/octet-stream;base64,H4sIAAAAAAAAE5WVUU/CMBSF/0ufFxEU1L0RjcaIgYjhxfhQtstoKG3T3qHE+N/NGLLSdSu87pz79ezu3u7jhyB8I4nJME+ZnIIxTAoSEUVxSWKScGoMmI6tXixxzUlEVkykJO72bn+jA2XENvDC8E3K9URLZSoSEwh6QRMwHdd0DOz1BxZwQjWyhCkqcIoUwQt0TTVgVL4IiUkKSkNCEVJinVJEGStkUvgTW3pb2MLWnPKgtiGGItWSpbt+v28V1FLhVhXfw29zyJd3N91+z6YrxWFXdE8RMqm3NXDNcT6zDBMml74z+FIsWJZrGsDbttPprzKFZmihBlnhkOfn231hTZOVM1gWsJJDtJHMRrAB7mL+n4fqnZ0ui307XFaG1m4K+H9yw5zXHaGIM5ZC2RFvWEcOtt/Zs4kGA2hRN1QzOueeldxbj0+4suFcZj4Ql1lLkXV5VsWLXCS77th36zFkcO1tko9RqSHEjMFXI6EQXUBoIjLAB1jQnGPDPj9Kfbyo1aGn1ra8lIaMGQT9xOWccuM7xbG0wEw1uz6QJbdBpEbr9+aN5HpacLmB5/G0vNGooBmsQaCP6TW2g60IDUTLce5g5AaaRn4vnUb8/APaandZ8ggAAA==" \ No newline at end of file