| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2023-01-11 | Move /src/test to /tests | Albert Larsan | -19/+0 | |
| 2021-04-17 | rustdoc: use more precise relative URLS | Michael Howell | -2/+2 | |
| Instead of using a depth counter and adding "../" to get to the top, this commit makes rustdoc actually compare the path of what it's linking from to the path that it's linking to. This makes the resulting HTML shorter. Here's a comparison of one of the largest (non-source) files in the Rust standard library docs (about 4% improvement before gzipping). $ wc -c struct.Wrapping.old.html struct.Wrapping.new.html 2387389 struct.Wrapping.old.html 2298538 struct.Wrapping.new.html Most if it can be efficiently gzipped away. $ wc -c struct.Wrapping.old.html.gz struct.Wrapping.new.html.gz 70679 struct.Wrapping.old.html.gz 70050 struct.Wrapping.new.html.gz But it also makes a difference in the final DOM size, reducing it from 91MiB to 82MiB. | ||||
| 2021-01-10 | Fix intra-doc links to `Self` and `crate` | Joshua Nelson | -0/+6 | |
| 2020-12-01 | Rollup merge of #79527 - jyn514:intra-doc-tests, r=Manishearth | Mara Bos | -198/+0 | |
| Move intra-doc link tests into a subdirectory They were starting to get unwieldy. r? ``@Manishearth`` | ||||
| 2020-11-29 | Add test for cross-crate Self | Joshua Nelson | -0/+13 | |
| 2020-11-28 | Move `src/test/rustdoc` intra-doc link tests into a subdirectory | Joshua Nelson | -198/+0 | |
| They were starting to get unwieldy. | ||||
| 2020-08-29 | rustdoc: Fix intra-doc links for cross-crate re-exports of traits | Joshua Nelson | -2/+0 | |
| #58972 ignored extern_traits because before #65983 was fixed, they would always fail to resolve, giving spurious warnings. This undoes that change, so extern traits are now seen by the `collect_intra_doc_links` pass. There are also some minor changes in librustdoc/fold.rs to avoid borrowing the extern_traits RefCell more than once at a time. | ||||
| 2020-07-30 | intra_doc_resolution_failures -> broken_intra_doc_links | Manish Goregaokar | -15/+15 | |
| 2020-07-30 | Rename to intra_doc_resolution_failures | Manish Goregaokar | -15/+15 | |
| 2020-07-29 | Rename usage of intra_doc_link_resolution_failure | Manish Goregaokar | -15/+15 | |
| 2020-07-16 | Update src/test/rustdoc/intra-doc-crate/auxiliary/hidden.rs | Manish Goregaokar | -2/+2 | |
| Co-authored-by: Joshua Nelson <joshua@yottadb.com> | ||||
| 2020-07-16 | Add test for doc(hidden) intra-doc cross-crate reexports | Manish Goregaokar | -0/+29 | |
| 2020-07-16 | Fix invalid lint | Joshua Nelson | -10/+10 | |
| intra_doc_resolution_failure is not a lint. | ||||
| 2020-07-16 | Add (broken and ignored) test for #73829 | Joshua Nelson | -2/+4 | |
| 2020-07-16 | Support intra-doc links on trait and module re-exports | Joshua Nelson | -0/+46 | |
| Trait implementations are treated the same as modules for the purposes of intra-doc links. | ||||
| 2020-07-16 | Support intra-doc links on macro re-exports | Joshua Nelson | -0/+42 | |
| This includes both `macro_rules!` and proc-macros. | ||||
| 2020-07-16 | rand -> my_rand | Joshua Nelson | -4/+4 | |
| This fixes a failure in stage2 rustdoc tests. | ||||
| 2020-07-16 | #![deny(intra_doc_resolution_failure)] | Joshua Nelson | -0/+12 | |
| 2020-07-16 | Add test for submodules in inner crate | Joshua Nelson | -3/+20 | |
| 2020-07-16 | Add test for documenting the re-export | Joshua Nelson | -0/+13 | |
| 2020-07-16 | Add test for re-exports | Joshua Nelson | -0/+28 | |
| I had a hard time getting this to work without the `extern crate`, suggestions are welcome. | ||||
| 2020-07-16 | Add tests for basic intra-doc links | Joshua Nelson | -0/+11 | |
