docs-matrix-spec/layouts/partials
Kévin Commaille 7ec9b7f2e1
Restore heading self links (#2007)
It was a change I did not notice when upgrading Docsy from 0.8.0 to 0.11.0. Docsy changed the way heading self links are generated: they used to be rendered with JS and now they use a Hugo render hook.

This means two things:
- We need to enable them explicitly by overriding the `_default/_markup/render-heading.html` template.
- We need to add the self heading ourselves to headings that are not rendered by Hugo, i.e. HTML headings that we create ourselves.

Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr>
2024-11-29 09:38:55 +00:00
..
events Restore heading self links (#2007) 2024-11-29 09:38:55 +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 Fix relative URLs when serving the specification with a custom baseURL (#1984) 2024-11-14 11:11:34 +00:00
json-schema Fix the rendering of the event format for room versions 1 and 2 (#1883) 2024-06-20 09:39:44 -06:00
openapi Restore heading self links (#2007) 2024-11-29 09:38:55 +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 Fix relative URLs when serving the specification with a custom baseURL (#1984) 2024-11-14 11:11:34 +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
navbar.html Upgrade docsy to 0.11.0 and hugo to 0.139.0 (#1996) 2024-11-19 21:40:34 +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