Enable header permalinks 58/29358/2
authorScott Murray <scott.murray@konsulko.com>
Tue, 17 Oct 2023 20:54:42 +0000 (16:54 -0400)
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>
Fri, 3 Nov 2023 17:43:57 +0000 (17:43 +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>
(cherry picked from commit ae87e29eeaeadd67a449f8827aa8d4adbe2076b5)
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/documentation/+/29358

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