Skip to content

Conversation

@ascholerChemeketa
Copy link
Contributor

Currently, navigating to a ToC link that is a sub page element (subsubsection when chunks are sections) does not expand the ToC to all the way. (Since XSL only knows what chunk the page corresponds to, not what href within the page will be selected.)

This makes sure the path to the active ToC item is fully expanded.

Testing:
Use the first commit that changes SA ToC depth to 4.
Navigate to 4.6.2 and then refresh page.
ToC should look like:
image

Then apply second commit, rebuild to get fresh JS, and navigate to same place, then refresh.
Now you will get:
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant