Skip to content

Darkfish: Nest sidebar ToC as a tree of headings - #941

Merged
nobu merged 1 commit into
ruby:masterfrom
nevans:darkfish-nest-toc
Nov 27, 2022
Merged

Darkfish: Nest sidebar ToC as a tree of headings#941
nobu merged 1 commit into
ruby:masterfrom
nevans:darkfish-nest-toc

Conversation

@nevans

Copy link
Copy Markdown
Contributor

This uses <details><summary>heading</summary><ul>nested</ul></detail>, similar to how the classes and pages lists are now nested.

@nevans

nevans commented Nov 22, 2022

Copy link
Copy Markdown
ContributorAuthor

I've been updating net-imap documentation. To demonstrate this PR (as well as #942 and a few other monkeypatches that aren't ready or suitable for PRs), see the "Table of Contents" here: https://nevans.github.io/net-imap/Net/IMAP.html

@nevans

Copy link
Copy Markdown
ContributorAuthor

The table of contents here should nest its headings too: https://nevans.github.io/net-imap/table_of_contents.html#classes. I rarely see that page, so I didn't think to update it (until just now).

This uses `<details><summary>heading</summary><ul>nested</ul></detail>`,
similar to how the classes and pages lists are now nested.
@nobu
nobu merged commit d6c6c0d into ruby:masterNov 27, 2022
@nevans
nevans deleted the darkfish-nest-toc branch November 28, 2022 04:03
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@nevans@nobu