-
Notifications
You must be signed in to change notification settings - Fork 24
Open
Labels
needs triageTriage needed by staff and/or partners. Automatically applied when an issue is opened.Triage needed by staff and/or partners. Automatically applied when an issue is opened.
Description
Most sidebar macros do not have a parameter, so they can be specified directly in frontmatter like this:
sidebar: xmlsidebar
Other sidebar macros have a parameter like this:
{{APIRef("Ink API")}}
In particular, this means that the sidebar macros have to be replicated in translated content, whereas the sidebar frontmatter is inherited (explaining few matches for sidebar: in translated-content).
Possible solutions:
- Extend the type of the
sidebarfrontmatter, e.g.string | Record<string, string>:sidebar: apiref: Ink API - Add a separate API field:
api: Ink API sidebar: apiref - Derive the API from the slug following the API reorg
Metadata
Metadata
Assignees
Labels
needs triageTriage needed by staff and/or partners. Automatically applied when an issue is opened.Triage needed by staff and/or partners. Automatically applied when an issue is opened.