Skip to content

[website] Fixed side bar#9725

Merged
michaelstaib merged 1 commit into
mainfrom
mst/fusion-blog-polish-2
May 18, 2026
Merged

[website] Fixed side bar#9725
michaelstaib merged 1 commit into
mainfrom
mst/fusion-blog-polish-2

Conversation

@michaelstaib
Copy link
Copy Markdown
Member

No description provided.

Copilot AI review requested due to automatic review settings May 18, 2026 04:48
@michaelstaib michaelstaib merged commit 83f7ebe into main May 18, 2026
19 checks passed
@michaelstaib michaelstaib deleted the mst/fusion-blog-polish-2 branch May 18, 2026 04:48
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR fixes the website article table-of-contents sidebar nesting logic so sibling headings are detected by actual heading depth rather than stack length.

Changes:

  • Tracks each table-of-content parent with its heading depth.
  • Pops same-depth or deeper ancestors before assigning the current heading’s parent.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Sign up for free to 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