From dda0a66d97e0f09003c6e25398ee26c329b247df Mon Sep 17 00:00:00 2001 From: Daniel Norman Date: Fri, 14 Aug 2026 12:49:13 +0200 Subject: [PATCH] metadata: Change section anchor style Set `idprefix` and `idseparator` so Asciidoctor emits IDs like `#repository-identity` instead of `#_repository_identity`. This applies to every RIP that includes `_metadata.adoc`, so the convention only needs to be configured in this file. --- _metadata.adoc | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/_metadata.adoc b/_metadata.adoc index 20eb984..8247308 100644 --- a/_metadata.adoc +++ b/_metadata.adoc @@ -1,3 +1,9 @@ +// Use anchors of the form `#foo-bar`, i.e., replacing whitespace with "-", +// instead of instead of AsciiDoc's default `#_snake_case` (replacing +// whitespace with "_" and prefixing with "_"). +:idprefix: +:idseparator: - + [horizontal] RIP:: {rip} ifdef::discussion[Discussion:: {discussion}]