Topdata wiki alignment links
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user