-
-
Notifications
You must be signed in to change notification settings - Fork 32.3k
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
[docs] Fix various issues with heading structure #20389
[docs] Fix various issues with heading structure #20389
Conversation
Details of bundle changes.Comparing: 7bb8c2c...f5f8f87 Details of page changes
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
@@ -6,18 +6,18 @@ | |||
|
|||
A function which returns [a class name generator function](https://cssinjs.org/jss-api/#generate-your-class-names). | |||
|
|||
#### Arguments | |||
### Arguments |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The motivation was to remove these values from the table of contents to make it easier to navigate. What about?
### Arguments | |
**Arguments** |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why do you want them removed from the TOC? There obviously a sub-item of the method.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
On a side note, the change goes against the other header structure in the documentation. So far The #### Arguments
level was used exclusively. It would be awesome to uniformized it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am not able to follow. You obviously want to group the content and describe it with a single word. That is a heading. Not sure what we're discussing here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It would be awesome to uniformized it.
I was wrong, the header structure in the other pages that have Arguments
as a header already have a continuous <hx>
structure.
improve heading structure of landing page
The full strapline is too long for a heading. It also caused installation and usage to be be on the lowest heading level and didn't translate to the visual representation of the landing page
Before:
After:
fixes issues with skipped headings
did not check every page under /components or /api since they're mostly auto-generated. Especially for demos I'm not that concerned with skipped headings. The demo should not be concerned with the context it's embedded in.