Skip to content

Add sections to the TOC#1601

Closed
Earlopain wants to merge 1 commit intoruby:masterfrom
Earlopain:sections-toc
Closed

Add sections to the TOC#1601
Earlopain wants to merge 1 commit intoruby:masterfrom
Earlopain:sections-toc

Conversation

@Earlopain
Copy link
Contributor

Closes #1598

They are currently in the left sidebar but they don't make much sense there I believe. Now they are in the TOC with the other headers.

If a heading is part of a section, its indentation is incremented by one level.

Before:

image

After:

image

They are currently in the left sidebar but they don't make much sense there I believe.
Now they are in the TOC with the other headers.

If a heading is part of a section, its indentation is incremented by one level.
@Earlopain Earlopain temporarily deployed to fork-preview-protection February 7, 2026 18:43 — with GitHub Actions Inactive
@matzbot
Copy link
Collaborator

matzbot commented Feb 7, 2026

🚀 Preview deployment available at: https://5c283d11.rdoc-6cd.pages.dev (commit: d812b3c)

@st0012 st0012 self-assigned this Feb 8, 2026
@st0012
Copy link
Member

st0012 commented Feb 8, 2026

Thanks for reporting the issue and the PR 🙏 But I think we may be able to fix it directly in the template: #1603

@Earlopain
Copy link
Contributor Author

Clearly the better solution. Thanks 👍

@Earlopain Earlopain closed this Feb 8, 2026
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.

Sections not part of TOC

3 participants