-
Notifications
You must be signed in to change notification settings - Fork 32
Open
Labels
Description
Prerequisites
- I have searched existing issues to ensure this feature hasn't already been requested
- I have tested using the latest version of docs-builder
What problem are you trying to solve?
In a recent PR, @efd6 added inline applies_to annotations to some headings, which rendered incorrectly in "On this page".
Proposed Solution
I see a couple possible solutions:
- Warn against using inline
applies_toannotations in headings and point contributors to section annotations instead. - Allow docs contributors to use either an inline annotation or a section annotation with a heading, and stripping out the
applies_tosyntax from "On this page" when using inline annotations. - Change the placement of section
applies_toannotations to be rendered next to the heading text so docs contributors don't try using inline annotations for style reasons (from @efd6: [the section annotation] is heavier on the page).
Examples and Research
No response
Alternative Solutions
No response
Additional Context
No response
How important is this feature to you?
Nice to have