Skip to content

Conversation

@ehuss
Copy link
Contributor

@ehuss ehuss commented Nov 20, 2025

This fixes an issue where when a heading goes from a larger to a smaller level, it was going back too far so that subsequent headings would be at a lower level than they should have been.

Fixes #2944

This checks the entire structure of the heading nav for this test. It
currently is not handling nesting properly.

Having a large inline string like this may not be the easiest to
maintain or be able to see the structure. I don't see a way to format it
in goml.
This fixes an issue where when a heading goes from a larger to a smaller
level, it was going back too far so that subsequent headings would be at
a lower level than they should have been.

Fixes rust-lang#2944
@rustbot rustbot added the S-waiting-on-review Status: waiting on a review label Nov 20, 2025
@ehuss ehuss enabled auto-merge November 20, 2025 01:08
@ehuss ehuss added this pull request to the merge queue Nov 20, 2025
Merged via the queue into rust-lang:master with commit 5d64d0e Nov 20, 2025
15 checks passed
@rustbot rustbot removed the S-waiting-on-review Status: waiting on a review label Nov 20, 2025
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.

Incorrect heading level indentation

2 participants