docs-matrix-spec/layouts/_default
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
..
_markup Restore heading self links (#2007) 2024-11-29 09:38:55 +00:00
content.html Render a single page of the spec in Hugo 2021-01-12 15:31:01 -08:00
single.checklist.md Provide MD checklists for the changelog (#1937) 2024-09-27 13:00:00 +01:00