-
Notifications
You must be signed in to change notification settings - Fork 13.4k
Fix trait item doc setting, add new setting, start hiding elements by default and then showing them up #52962
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
Conversation
… default and then showing them up
@@ -1674,6 +1674,7 @@ impl<'a> Settings<'a> { | |||
("item-attributes", "Auto-hide item attributes.", true), | |||
("trait-implementations", "Auto-hide trait implementations documentation", | |||
true), | |||
("method-docs", "Auto-hide item methods' documentation", false), |
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.
Was this setting requested by anyone? It doesn't seem all that necessary to me. "Collapse all" is already saved into local storage.
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.
We were doing it before through "trait-implementations". Now that I've fixed it, I assume some people might want all their docs collapsed by default so why not providing it?
Triage: @QuietMisdreavus Is there any further review needed or can this be merged? |
Ping from triage @QuietMisdreavus / @rust-lang/rustdoc: This PR requires your review. |
Ping from triage @GuillaumeGomez: This PR is pending some updates from you. |
Seems like the comment was already fixed apparently. |
Ping from triage, @QuietMisdreavus: This PR is waiting for your review. |
@bors r+ |
📌 Commit e1ec055 has been approved by |
Fix trait item doc setting, add new setting, start hiding elements by default and then showing them up r? @QuietMisdreavus
☀️ Test successful - status-appveyor, status-travis |
r? @QuietMisdreavus