docs-matrix-spec/layouts/shortcodes
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>
2024-11-19 21:41:45 +00:00
..
boxes Remove boxes/added-in-paragraph shortcode (#1970) 2024-10-14 17:57:33 +01:00
changelog Use relative permalink to redirect to latest changelog (#1956) 2024-09-30 17:29:55 +01:00
added-in.html Remove span element from added-in and changed-in shortcodes (#1972) 2024-10-14 18:04:36 +01:00
changed-in.html Remove span element from added-in and changed-in shortcodes (#1972) 2024-10-14 18:04:36 +01:00
cs-module.html Generate ToC with Hugo rather than JavaScript (#1851) 2024-06-11 22:24:23 +01:00
definition.html Fix generated HTML (#1880) 2024-06-20 09:42:40 +01:00
diagram.html Improve the quality of the rendered diagrams (#1999) 2024-11-19 21:41:45 +00:00
event-fields.html Simplify uses of resolve-refs partial (#1773) 2024-04-09 18:06:53 +01:00
event-group.html Sort VoIP events semantically (#1967) 2024-10-15 17:22:40 +01:00
event.html Add support for $ref URIs containing fragments in OpenAPI definitions and JSON schemas (#1751) 2024-03-19 14:50:49 +00:00
http-api.html Allow to specify a prefix for generated HTML IDs of API endpoints (#1882) 2024-06-20 15:39:50 +00:00
msgtypes.html Add support for $ref URIs containing fragments in OpenAPI definitions and JSON schemas (#1751) 2024-03-19 14:50:49 +00:00
proposal-tables.html Fix ToC of spec proposals (#1885) 2024-06-20 16:20:16 +00:00
rver-fragment.html Remove withVersioning parameter of rver-fragment shortcode. (#1971) 2024-10-14 18:00:49 +01:00
sas-emojis.html Replace sas-emojis template 2021-01-22 14:31:39 -08:00