Show TOC of a wiki page in sidebar
What does this MR do and why?
Show TOC of a wiki page in sidebar
Enable navigation on the current page using the new "On this page" header in the sidebar
Changelog: added
MR acceptance checklist
Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Screenshots or screen recordings
Screenshots are required for UI changes, and strongly recommended for all other merge requests.
Case | Screenshot/video |
---|---|
Page with headings | |
No headings (no change) |
How to set up and validate locally
- Create a wiki page with many heading levels.
- Save, and observe the "On this page" section in the sidebar.
Related to #281570 (closed)
Edited by Himanshu Kapoor