Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upRustdoc: add crate items to the search-index #31715
Conversation
rust-highfive
assigned
cmr
Feb 16, 2016
This comment has been minimized.
This comment has been minimized.
|
r? @cmr (rust_highfive has picked a reviewer for you, use r? to override) |
This comment has been minimized.
This comment has been minimized.
rust-highfive
assigned
alexcrichton
and unassigned
cmr
Feb 16, 2016
alexcrichton
reviewed
Feb 22, 2016
| fn to_json(&self) -> Json { | ||
| let mut data = BTreeMap::new(); | ||
| data.insert("name".to_owned(), self.name.to_json()); | ||
| Json::Object(data) |
This comment has been minimized.
This comment has been minimized.
alexcrichton
Feb 22, 2016
Member
This seems different than it was before? Just double-checking that it was accounted for on the search index side of things
This comment has been minimized.
This comment has been minimized.
|
Sorry this took awhile to get around to, but thanks @mitaa! I like the cleanup going on here, definitely improves readability. I've got just one minor question about how the search index looks like it's changed, but other than that looks good to me. |
mitaa
force-pushed the
mitaa:rdoc-index-crate
branch
from
e743770
to
81f673d
Feb 22, 2016
This comment has been minimized.
This comment has been minimized.
|
You're right, I've changed that part back to the old behaviour - the search index shouldn't have changed but it's probably safer this way. (like the comment said the |
This comment has been minimized.
This comment has been minimized.
bors
added a commit
that referenced
this pull request
Feb 22, 2016
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
|
|
This comment has been minimized.
This comment has been minimized.
|
@bors: retry On Mon, Feb 22, 2016 at 4:51 PM, bors notifications@github.com wrote:
|
This comment has been minimized.
This comment has been minimized.
|
|
mitaa commentedFeb 16, 2016
This allows to search for crates in documentation and simplifies the json serialization of the search-index.
fixes #14077