Topdata wiki alignment links

This commit is contained in:
2026-05-25 10:31:07 +02:00
parent 7714c068fe
commit a646c905e4
7 changed files with 126 additions and 68 deletions
+6 -2
View File
@@ -326,13 +326,17 @@ the toolkit keeps its legacy default injections for compatibility.
`topdata.wiki.alignment_links.target_pattern` controls whether formatted
alignment names become internal wiki links. The pattern may use `{alignment}`
for the title-shaped alignment segment with spaces converted to underscores, and
`{label}` for the display label:
`{label}` for the display label. `alignment_links.link_format` defaults to
`wiki_markup`, which emits `[[target|label]]`. Use `html_anchor` when the
configured target should be emitted as a root URL anchor instead of being
resolved as namespace-relative wiki markup:
```yaml
topdata:
wiki:
alignment_links:
target_pattern: Guides/Alignment/{alignment}
target_pattern: /wiki/Guides/Alignment/{alignment}
link_format: html_anchor
```
Generated wiki input and output paths are YAML-configurable. `source` points to