| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2025-09-30 | Replace `rustc_span::Span` with a stripped down version for librustdoc's ↵ | Yotam Ofek | -1/+2 | |
| highlighter | ||||
| 2025-09-25 | Rollup merge of #146933 - yotamofek:pr/rustdoc/highlight_no_write_str, ↵ | Matthias Krüger | -74/+56 | |
| r=GuillaumeGomez Make `render_example_with_highlighting` return an `impl fmt::Display` Removes some more usages of `write_str`. Shouldn't affect runtime, but makes the codebase a bit more consistent. Each commit can be reviewed separately | ||||
| 2025-09-25 | Rollup merge of #135771 - GuillaumeGomez:jump-to-def-perf, r=fmease | Matthias Krüger | -46/+74 | |
| [rustdoc] Add support for associated items in "jump to def" feature Fixes https://github.com/rust-lang/rust/issues/135485. r? ``@fmease`` | ||||
| 2025-09-23 | Remove unused param from `write_header` | Yotam Ofek | -11/+2 | |
| 2025-09-23 | Remove `Tooltip::None` variant, use `Option::None` | Yotam Ofek | -12/+11 | |
| 2025-09-23 | Make `render_example_with_highlighting` return an `impl fmt::Display` | Yotam Ofek | -62/+54 | |
| 2025-09-08 | mark `format_args_nl!` as `#[doc(hidden)]` | cyrgani | -1/+1 | |
| 2025-08-23 | Improve code and add test with macro coming from another file from the same ↵ | Guillaume Gomez | -13/+9 | |
| crate | ||||
| 2025-08-23 | Improve code | Guillaume Gomez | -4/+2 | |
| 2025-08-23 | Make macro expansion feature buttons accessible | Guillaume Gomez | -2/+5 | |
| 2025-08-23 | Do macro expansion at AST level rather than HIR | Guillaume Gomez | -1/+2 | |
| 2025-08-23 | Clean up computation of macro expansion span and correctly handle spans open ↵ | Guillaume Gomez | -17/+58 | |
| inside expansion spans | ||||
| 2025-08-23 | Correctly handle multiple macro expansions on a same line | Guillaume Gomez | -14/+43 | |
| 2025-08-23 | Add new unstable `--generate-macro-expansion` rustdoc command line flag | Guillaume Gomez | -9/+16 | |
| 2025-08-23 | Add support for macro expansion in rustdoc source code pages | Guillaume Gomez | -47/+175 | |
| 2025-08-10 | Better handling of paths in link to def feature | Guillaume Gomez | -46/+74 | |
| 2025-07-19 | Fix clippy lints in librustdoc | Guillaume Gomez | -2/+2 | |
| 2025-05-26 | rustdoc: refactor Tooltip rendering logic | binarycat | -43/+21 | |
| 2025-05-24 | rustdoc: use descriptive tooltip if doctest is conditionally ignored | binarycat | -8/+37 | |
| fixes https://github.com/rust-lang/rust/issues/141092 | ||||
| 2025-05-05 | Implement RFC 3503: frontmatters | Deadbeef | -2/+4 | |
| Supercedes #137193 | ||||
| 2025-03-07 | Rollup merge of #138107 - yotamofek:pr/rustdoc/clippy, r=GuillaumeGomez | Matthias Krüger | -4/+4 | |
| `librustdoc`: clippy fixes First commit is all machine-generated fixes, next two are some more lints fixed by hand/misc. cleanups Inspired by the redundant `.and_then()` added in https://github.com/rust-lang/rust/pull/137320 , and [this comment](https://github.com/rust-lang/rust/pull/138090#discussion_r1983111856) r? ```@GuillaumeGomez``` | ||||
| 2025-03-06 | Manual, post-`clippy --fix` cleanups | Yotam Ofek | -1/+1 | |
| 2025-03-06 | `x clippy src/librustdoc --fix` | Yotam Ofek | -3/+3 | |
| 2025-03-06 | `librustdoc`: flatten nested ifs | Yotam Ofek | -42/+41 | |
| 2025-02-12 | Nuke `Buffer` abstraction from `librustdoc` 💣 | Yotam Ofek | -36/+44 | |
| 2025-02-11 | Remove quotes around href in code line numbers | Guillaume Gomez | -1/+1 | |
| 2025-02-10 | Move line numbers into the `<code>` directly | Guillaume Gomez | -11/+101 | |
| 2025-02-08 | Rustfmt | bjorn3 | -17/+25 | |
| 2025-01-22 | rustdoc: pass around decoration info by ref | Yotam Ofek | -5/+5 | |
| 2024-12-12 | Enable "jump to def" feature on prelude variants | Guillaume Gomez | -5/+10 | |
| 2024-11-28 | Fix new clippy lints | Guillaume Gomez | -3/+3 | |
| 2024-11-25 | Fix `Result` and `Option` not getting a jump to def link generated | Guillaume Gomez | -5/+8 | |
| 2024-11-19 | Remove `TokenKind::InvalidPrefix`. | Nicholas Nethercote | -4/+3 | |
| It was added in #123752 to handle some cases involving emoji, but it isn't necessary because it's always treated the same as `TokenKind::InvalidIdent`. This commit removes it, which makes things a little simpler. | ||||
| 2024-11-13 | rustdoc: Treat decl macros like other items | León Orell Valerian Liehr | -7/+0 | |
| 2024-10-08 | Reserve guarded string literals (RFC 3593) | Peter Jaszkowiak | -0/+1 | |
| 2024-10-06 | Handle `librustdoc` cases of `rustc::potential_query_instability` lint | ismailarilik | -2/+2 | |
| 2024-09-22 | Reformat using the new identifier sorting from rustfmt | Michael Goulet | -26/+18 | |
| 2024-09-06 | Fix tools | Michael Goulet | -1/+3 | |
| 2024-07-29 | Reformat `use` declarations. | Nicholas Nethercote | -4/+3 | |
| The previous commit updated `rustfmt.toml` appropriately. This commit is the outcome of running `x fmt --all` with the new formatting options. | ||||
| 2024-04-10 | Properly handle emojis as literal prefix in macros | Esteban Küber | -3/+4 | |
| Do not accept the following ```rust macro_rules! lexes {($($_:tt)*) => {}} lexes!(🐛"foo"); ``` Before, invalid emoji identifiers were gated during parsing instead of lexing in all cases, but this didn't account for macro expansion of literal prefixes. Fix #123696. | ||||
| 2024-02-27 | Prevent inclusion of whitespace character after macro_rules ident | Guillaume Gomez | -0/+1 | |
| 2023-12-01 | rustdoc: do not escape quotes in body text | Michael Howell | -3/+9 | |
| Escaping quote marks is only needed in attributes, not text. ```console $ du -hs doc-old/ doc-new/ 670M doc-old/ 669M doc-new/ ``` | ||||
| 2023-11-15 | Re-format code with new rustfmt | Mark Rousskov | -11/+24 | |
| 2023-09-15 | Implement custom classes for rustdoc code blocks with ↵ | Guillaume Gomez | -4/+21 | |
| `custom_code_classes_in_docs` feature | ||||
| 2023-08-16 | Use more named format args | Guillaume Gomez | -4/+8 | |
| 2023-08-16 | Improve code readability by moving fmt args directly into the string | Guillaume Gomez | -11/+10 | |
| 2023-07-13 | Rollup merge of #113623 - GuillaumeGomez:add-jump-to-doc, r=notriddle | Matthias Krüger | -0/+5 | |
| Add jump to doc I'm using the source code pages of the compiler quite a lot, but one thing missing is the possibility to jump back from the source code to the item documentation. Since I also got a few others complaining about it, I think it's fine to add it since this option is nightly only. This PR adds a link to jump back to item's documentation on the item definition (so on `Bar` in `struct Bar {... }`, as described in the unofficial [RFC](https://github.com/GuillaumeGomez/rfcs/blob/rustdoc-jump-to-definition/text/000-rustdoc-jump-to-definition.md)). r? ````@notriddle```` | ||||
| 2023-07-12 | Re-format let-else per rustfmt update | Mark Rousskov | -4/+2 | |
| 2023-07-12 | Add jump to doc | Guillaume Gomez | -0/+5 | |
| 2023-05-02 | initial step towards implementing C string literals | Deadbeef | -1/+3 | |
