-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
♻️ Show all active sections in table of contents
Show all active sections as this will mean we can also show headings in our side navigation and the highlighted sections will be aligned. It removes the need to handle clicks when there are small sections at the bottom that have their anchor tags clicked. Related thread: https://centrapay.slack.com/archives/C04B93QUDSM/p1696994426728949 Story: ✨ [Migrate API Documentation](https://www.notion.so/centrapay/Lanterns-d784e8a5f9fa44328a5d0ae1fd85d37e?p=c6d64de29a2245358a5e9b7eed5edbcc&pm=s) Test plan: Expect multiple sections to be highlighted in TOC when they are all visible.
- Loading branch information
1 parent
cc48c0b
commit 61defb7
Showing
2 changed files
with
13 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters