feat: use hyphens
This makes the FAQ headings have IDs with hyphens. This is more in line with how Hugo handles the IDs for headings created in Markdown.
This shouldn't break any existing links - I don't believe this shortcode is used anywhere.
I tried to remove the TOC from this shortcode in favour of the table_of_contents
shortcode we recently added to the theme. However, shortcode HTML headings are not added to Hugo's built-in TOC data structure. So, we still need to keep this duplicate code.
Merge request reports
Activity
assigned to @oliviergoulet
Deploy Preview for webdev.eclipse.org-docs-hugo is ready [ 1 min 40 sec] Inspect the build logs Test locallydocker run -it --rm -p 18181:8080 docker.io/eclipsefdn/webdev-eclipse-org-docs-hugo:mr-366--fdbff04-b1
and open to http://localhost:18181 Browse the preview: https://preview-366--webdev-eclipse-org-docs-hugo.eclipsecontent.org/docs/hugoEdited by Web Dev Bot userrequested review from @zacharysabourin, @cguindon, @epoirier, and @malowe
added 2 commits
reset approvals from @epoirier and @zacharysabourin by pushing to the branch