Enable header permalinks 85/29285/3
authorScott Murray <scott.murray@konsulko.com>
Tue, 17 Oct 2023 20:54:42 +0000 (16:54 -0400)
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>
Mon, 23 Oct 2023 16:15:43 +0000 (16:15 +0000)
Use the toc extension "permalinks" option to enable header permalinks.

Bug-AGL: SPEC-4927

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: If06b1172d1dd295cc22e60bdf89f301b0c880ae6
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/documentation/+/29285
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
mkdocs.yml

index 5d69bf8..01e0f5c 100644 (file)
@@ -15,6 +15,8 @@ plugins:
       separator: '[\s\-\_]+'
 
 markdown_extensions:
+  - toc:
+      permalink: true
   - pymdownx.superfences
   - pymdownx.tasklist:
       custom_checkbox: true