Pajamas > Add page table of contents
Purpose
Each page of the Pajamas documentation could benefit from a table of contents aside. This could be like Docs or the handbook with the "On this page" aside.
The benefits:
- Easily scan and link to page content.
- Maintain perspective on page structure — ensuring proper heading structure and consistency across pages where needed.
Docs | Handbook |
---|---|
Considerations
- Responsive behavior on mobile and updating page template(s) to account for the additional column.
- Try using the DocToc package (already in the project) to generate ToC.
- Ability to visually/programmatically track location like Docs does while keeping the aside sticky.
Edited by Jeremy Elder