Skip to content

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

Merged
merged 2 commits into from
Sep 14, 2018

Conversation

GuillaumeGomez
Copy link
Member

@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Aug 1, 2018
@@ -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),
Copy link
Member

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.

Copy link
Member Author

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?

@XAMPPRocky
Copy link
Member

Triage: @QuietMisdreavus Is there any further review needed or can this be merged?

@TimNN
Copy link
Contributor

TimNN commented Aug 14, 2018

Ping from triage @QuietMisdreavus / @rust-lang/rustdoc: This PR requires your review.

@pietroalbini pietroalbini added S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Aug 27, 2018
@TimNN
Copy link
Contributor

TimNN commented Sep 4, 2018

Ping from triage @GuillaumeGomez: This PR is pending some updates from you.

@GuillaumeGomez
Copy link
Member Author

Seems like the comment was already fixed apparently.

@TimNN TimNN added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. and removed S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. labels Sep 11, 2018
@TimNN
Copy link
Contributor

TimNN commented Sep 11, 2018

Ping from triage, @QuietMisdreavus: This PR is waiting for your review.

@QuietMisdreavus
Copy link
Member

@bors r+

@bors
Copy link
Collaborator

bors commented Sep 13, 2018

📌 Commit e1ec055 has been approved by QuietMisdreavus

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Sep 13, 2018
@bors
Copy link
Collaborator

bors commented Sep 14, 2018

⌛ Testing commit e1ec055 with merge e7f1880...

bors added a commit that referenced this pull request Sep 14, 2018
Fix trait item doc setting, add new setting, start hiding elements by default and then showing them up

r? @QuietMisdreavus
@bors
Copy link
Collaborator

bors commented Sep 14, 2018

☀️ Test successful - status-appveyor, status-travis
Approved by: QuietMisdreavus
Pushing e7f1880 to master...

@bors bors merged commit e1ec055 into rust-lang:master Sep 14, 2018
@GuillaumeGomez GuillaumeGomez deleted the few-things branch September 14, 2018 07:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants