Skip to content
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

Fix selected crate search filter #66514

Merged
merged 1 commit into from
Nov 20, 2019

Conversation

GuillaumeGomez
Copy link
Member

Fixes #62929.

r? @kinnison

@JohnTitor JohnTitor added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Nov 18, 2019
@Dylan-DPC-zz
Copy link

r? @Dylan-DPC

Copy link
Contributor

@kinnison kinnison left a comment

Choose a reason for hiding this comment

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

I think this looks okay, but I'm not sure how to test it. Can you remind me how to build the stdlib docs with x.py?

@GuillaumeGomez
Copy link
Member Author

Sure, here you go: ./x.py doc src/libstd --stage 1. Then it's generated inside build/[your-archi]/stage1/doc/std/index.html.

@kinnison
Copy link
Contributor

So in local testing it doesn't seem to remember the crate selection for the search field when I build from your branch. Am I meant to run up a local webserver for it to work?

Copy link
Contributor

@kinnison kinnison left a comment

Choose a reason for hiding this comment

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

Okay, with a little help understanding how Firefox's local storage works on files, I have replicated this working.

@kinnison
Copy link
Contributor

@bors r+

@bors
Copy link
Contributor

bors commented Nov 19, 2019

📌 Commit 00ef5c1 has been approved by kinnison

@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 Nov 19, 2019
@Dylan-DPC-zz
Copy link

Dylan-DPC-zz commented Nov 19, 2019

Neat! 🎉

Centril added a commit to Centril/rust that referenced this pull request Nov 20, 2019
…ve, r=kinnison

Fix selected crate search filter

Fixes rust-lang#62929.

r? @kinnison
bors added a commit that referenced this pull request Nov 20, 2019
Rollup of 7 pull requests

Successful merges:

 - #66060 (Making ICEs and test them in incremental)
 - #66298 (rustdoc: fixes #64305: disable search field instead of hidding it)
 - #66457 (Just derive Hashstable in librustc)
 - #66496 (rustc_metadata: Privatize more things)
 - #66514 (Fix selected crate search filter)
 - #66535 (Avoid ICE when `break`ing to an unreachable label)
 - #66573 (Ignore run-make reproducible-build-2 on Mac)

Failed merges:

r? @ghost
@bors bors merged commit 00ef5c1 into rust-lang:master Nov 20, 2019
@GuillaumeGomez GuillaumeGomez deleted the fix-search-filter-save branch November 20, 2019 23:18
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.

Documentation: remember the selected crate in search
5 participants