Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expandable TOC for HTML output #560

Merged
merged 4 commits into from
Jun 12, 2024

Conversation

gmlueck
Copy link
Contributor

@gmlueck gmlueck commented Jun 9, 2024

Add an Asciidoctor extension and CSS styling to implement an expandable table of contents for the HTML render. This allows the user to click an icon in the TOC to expand or collapse each heading level.

There is also an icon on the title line of the TOC which the user can click to expand or collapse all heading levels.

The initial state is that all TOC levels are collapsed, but this is tunable via the toclevels-expanded Asciidoc attribute.

Add an Asciidoctor extension and CSS styling to implement an expandable
table of contents for the HTML render.  This allows the user to click
an icon in the TOC to expand or collapse each heading level.

There is also an icon on the title line of the TOC which the user can
click to expand or collapse all heading levels.

The initial state is that all TOC levels are collapsed, but this is
tunable via the `toclevels-expanded` Asciidoc attribute.
@gmlueck gmlueck added the editorial Some purely editorial problem label Jun 9, 2024
@gmlueck
Copy link
Contributor Author

gmlueck commented Jun 12, 2024

Merging as editorial

@gmlueck gmlueck merged commit 393b73b into KhronosGroup:SYCL-2020/master Jun 12, 2024
2 checks passed
@gmlueck gmlueck deleted the gmlueck/accordion-toc branch June 12, 2024 21:59
keryell pushed a commit that referenced this pull request Sep 10, 2024
gmlueck added a commit that referenced this pull request Nov 7, 2024
Expandable TOC for HTML output

(cherry picked from commit 393b73b)
gmlueck added a commit that referenced this pull request Nov 7, 2024
Expandable TOC for HTML output

(cherry picked from commit 393b73b)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
editorial Some purely editorial problem
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants