rustdoc: fix href of extern crates in search results#154697
rustdoc: fix href of extern crates in search results#154697lolbinarycat wants to merge 2 commits intorust-lang:mainfrom
Conversation
|
Some changes occurred in HTML/CSS/JS. |
| { 'path': 'foo', 'name': 'st', 'href': '../foo/index.html#reexport.st' }, | ||
| // FIXME: `href` is wrong: <https://github.com/rust-lang/rust/issues/148300> | ||
| { 'path': 'foo', 'name': 'st2', 'href': '../st2/index.html' }, | ||
| { |
There was a problem hiding this comment.
Please add a code comment here to mention what we're testing. Which made me realize that we should maybe have a proper test file for this test.
There was a problem hiding this comment.
I actually initially wrote a standalone test for this, but ended up removing it once I found this test.
There was a problem hiding this comment.
As you prefer. But if we keep it as is, we might want to rename the file and its top code comment.
|
Reminder, once the PR becomes ready for a review, use |
7d67acf to
7199a0b
Compare
|
Alright, go ahead and do the changes you were talking about, I wont touch the PR until then. EDIT: nevermind, saw your other comment, should be able to figure it out myself |
|
Well, ping me either for final review or for adding the missing piece. ;) |
|
I do not believe I think I can patch |
|
That was what I planned to do. :) |
|
Ah, I see. |
|
I'll leave it to you then, it should be fairly simple, just forwarding an envar to a js var. |
|
@bors r+ rollup |
|
Just realized that this is the file added in this PR. Morning... @bors r- |
This comment has been minimized.
This comment has been minimized.
7b8e328 to
b24c978
Compare
This comment has been minimized.
This comment has been minimized.
b24c978 to
8c44809
Compare
|
@bors r+ rollup |
…, r=GuillaumeGomez rustdoc: fix href of extern crates in search results To avoid modifying the search index, I instead overloaded an existing field that is always unused for extern crate items. fixes rust-lang#148300 r? @GuillaumeGomez
…uwer Rollup of 4 pull requests Successful merges: - #154444 (rustdoc ICE fix: When collecting `Deref` impls with their targets, skip the negative ones) - #154590 (Make #[cfg] suggest any or all on #[cfg(a, b)]) - #154691 (core: Update the feature gate on `TryFrom<integer> for bool`) - #154697 (rustdoc: fix href of extern crates in search results) Failed merges: - #154722 (fix(lints): Improve `ill_formed_attribute_input` with better help message)
View all comments
To avoid modifying the search index, I instead overloaded an existing field that is always unused for extern crate items.
fixes #148300
r? @GuillaumeGomez