Uh oh!
There was an error while loading. Please reload this page.
Remove disambiguators from intra doc link text - #76078
Conversation
This comment has been minimized.
This comment has been minimized.
c63852b to
92c2f22CompareUh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Manishearth
commented
Aug 30, 2020
i think some more comments in the markdown parser hook would be nice. Otherwise looks great! |
jyn514
commented
Aug 30, 2020
I found lots of bugs while adding these 😆 working on those now, will add tests to match the bugs. |
jyn514
commented
Aug 30, 2020
This is ready for re-review. |
jyn514
commented
Sep 3, 2020
ping @Manishearth - how do the new comments look? |
Manishearth
left a comment
There was a problem hiding this comment.
r=me, maybe squash the commits a little first
Related to rust-lang#65354 - Pass through the replacement text to `markdown.rs` - Add some tests - Add a state machine that actually replaces the text when parsing Markdown
801061c to
025a533Comparejyn514
commented
Sep 3, 2020
@bors r=manishearth |
bors
commented
Sep 3, 2020
📌 Commit 025a533284abbfb0a5e4882dc7b75c6ee11278ea has been approved by |
bors
commented
Sep 4, 2020
⌛ Testing commit 025a533284abbfb0a5e4882dc7b75c6ee11278ea with merge 2253f3aff4eb7eaca3a32476302efb3f01e7b636... |
bors
commented
Sep 4, 2020
💔 Test failed - checks-actions |
jyn514
commented
Sep 4, 2020
It tried to document the example! 😆 |
- Preserve suffixes when displaying - Rename test file to match `intra-link*` - Remove unnecessary .clone()s - Improve comments and naming - Fix more bugs and add tests - Escape intra-doc link example in public documentation
025a533 to
18c14fdComparejyn514
commented
Sep 4, 2020
@bors retry |
Dylan-DPC-zz
commented
Sep 4, 2020
@bors r=manishearth |
bors
commented
Sep 4, 2020
📌 Commit 18c14fd has been approved by |
Remove disambiguators from intra doc link text Closesrust-lang#65354. r? @Manishearth The commits are mostly atomic, but there might be some mix between them here and there. I recommend reading 'refactor ItemLink' and 'refactor RenderedLink' on their own though, lots of churn without any logic changes.
Remove disambiguators from intra doc link text Closesrust-lang#65354. r? @Manishearth The commits are mostly atomic, but there might be some mix between them here and there. I recommend reading 'refactor ItemLink' and 'refactor RenderedLink' on their own though, lots of churn without any logic changes.
Remove disambiguators from intra doc link text Closesrust-lang#65354. r? @Manishearth The commits are mostly atomic, but there might be some mix between them here and there. I recommend reading 'refactor ItemLink' and 'refactor RenderedLink' on their own though, lots of churn without any logic changes.
Rollup of 11 pull requests Successful merges: - rust-lang#75695 (Add a regression test for issue-72793) - rust-lang#75741 (Refactor byteorder to std in rustc_middle) - rust-lang#75954 (Unstable Book: add links to tracking issues for FFI features) - rust-lang#75994 (`impl Rc::new_cyclic`) - rust-lang#76060 (Link vec doc to & reference) - rust-lang#76078 (Remove disambiguators from intra doc link text) - rust-lang#76082 (Fix intra-doc links on pub re-exports) - rust-lang#76254 (Fold length constant in Rvalue::Repeat) - rust-lang#76258 (x.py check checks tests/examples/benches) - rust-lang#76263 (inliner: Check for codegen fn attributes compatibility) - rust-lang#76285 (Move jointness censoring to proc_macro) Failed merges: r? @ghost
Update intra-doc link documentation to match the implementation r? `@Manishearth` cc `@camelid` `@m-ou-se` Relevant PRs: - rust-lang#74489 - rust-lang#80181 - rust-lang#76078 - rust-lang#77519 - rust-lang#73101 Relevant issues: - rust-lang#78800 - rust-lang#77200 - rust-lang#77199 / rust-lang#54191 I haven't documented things that I consider 'just bugs', like rust-lang#77732, but I have documented features that aren't implemented, like rust-lang#78800.
Closes#65354.
r? @Manishearth
The commits are mostly atomic, but there might be some mix between them here and there. I recommend reading 'refactor ItemLink' and 'refactor RenderedLink' on their own though, lots of churn without any logic changes.