You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
matrix-spec/layouts
Kévin Commaille 9882d95775
Improve the quality of the rendered diagrams (#1999)
The first commit allows to lazy-load the diagrams, which should improve the loading time of the CS API on mobile. In the process it also improves the alt text of the images.

The second commit serves the diagrams as high-resolution WebPs. Encoding a high resolution diagram as WebP gives a file of approximately the same size as the lower resolution PNG. For maximum compatibility we also serve them as a lower resolution WebP and a fallback PNG. WebP was chosen because it is one of the export formats of draw.io/diagrams.net, and it is widely available in modern browsers.

Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr>
2 days ago
..
_default Provide MD checklists for the changelog (#1937) 2 months ago
docs Upgrade docsy to 0.11.0 and hugo to 0.139.0 (#1996) 2 days ago
partials Upgrade docsy to 0.11.0 and hugo to 0.139.0 (#1996) 2 days ago
shortcodes Improve the quality of the rendered diagrams (#1999) 2 days ago
404.html Fix relative URLs when serving the specification with a custom `baseURL` (#1984) 1 week ago