Skip to content

Conversation

mudge
Copy link
Contributor

@mudge mudge commented Apr 2, 2025

No description provided.

mudge added 3 commits April 2, 2025 15:01
Previously, the "On this page" table of contents would contain a
server-side rendered table of contents generated by the Jekyll AsciiDoc
plugin but this was always set to be hidden (even to screen readers). We
would then replace this element with the client-side rendered table of
contents generated by Tocbot. The latter is only visible on screens
wider than 1460px so there is no need for us to have logic to refresh
the Tocbot whenever the window is resized under 768px (as it will be
hidden anyway).
Upgrade to Tocbot 4.35.3 and simplify setup
Tocbot 4.1.0 switched from using `<ul>` to `<ol>` for its markup so
update our custom style overrides accordingly.
@mudge mudge merged commit e5253d9 into master Apr 2, 2025
1 check passed
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