docs-matrix-spec/layouts/partials
Kévin Commaille 3adbfa30da
Look for examples in all possible locations (#2076)
We used to only look for examples in a few (sometimes arbitrary) places, and we didn't support showing several examples in most cases. This is intended to fix this. In the process we try to deduplicate code to make sure that we use the same logic everywhere.

Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr>
2025-03-05 09:44:59 +00:00
..
events Look for examples in all possible locations (#2076) 2025-03-05 09:44:59 +00:00
footer Upgrade docsy to 0.11.0 and hugo to 0.139.0 (#1996) 2024-11-19 21:40:34 +00:00
hooks Remove type and language attributes of script element (#2021) 2024-12-10 22:57:13 +00:00
json-schema Look for examples in all possible locations (#2076) 2025-03-05 09:44:59 +00:00
openapi Look for examples in all possible locations (#2076) 2025-03-05 09:44:59 +00:00
added-in.html Enforce consistent vertical spacing between paragraphs in endpoint definitions (#1969) 2024-10-29 15:22:15 +00:00
alert.html Change the accessible role of info boxes to note (#2022) 2024-12-10 22:59:29 +00:00
breadcrumb.html Update docsy to v0.8.0 (#1699) 2024-02-27 18:12:39 +00:00
changed-in.html Fix changed-in partial when used with multiple paragraphs (#2006) 2024-11-26 17:53:52 +00:00
favicons.html Remove trailing slash on void HTML elements (#2009) 2024-11-20 18:21:25 -05:00
head-css.html Optimize generated CSS by removing unused selectors (#2008) 2024-12-10 22:55:14 +00:00
navbar.html Upgrade docsy to 0.11.0 and hugo to 0.139.0 (#1996) 2024-11-19 21:40:34 +00:00
render-example.html Look for examples in all possible locations (#2076) 2025-03-05 09:44:59 +00:00
sidebar-tree.html Upgrade docsy to 0.11.0 and hugo to 0.139.0 (#1996) 2024-11-19 21:40:34 +00:00
toc.html Generate ToC with Hugo rather than JavaScript (#1851) 2024-06-11 22:24:23 +01:00
version-banner.html Comments for all the layout templates 2021-01-12 20:45:24 -08:00