| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2020-07-16 | Rollup merge of #74359 - lzutao:rustdoc-tostring, r=GuillaumeGomez | Manish Goregaokar | -5/+5 | |
| rustdoc: Rename internal API fns to `into_string` to avoid surprising listed in API guidelines. | ||||
| 2020-07-15 | rustdoc: Rename internal API fns to `into_string` | Lzu Tao | -5/+5 | |
| to avoid surprising listed in API guidelines. | ||||
| 2020-07-14 | rustdoc: glue tokens before highlighting | Andy Russell | -2/+2 | |
| Fixes #72684. This commit also modifies the signature of `Classifier::new` to avoid copying the source being highlighted. | ||||
| 2020-07-07 | rustdoc: Rename invalid_codeblock_attribute lint to be plural | Oliver Middleton | -1/+1 | |
| 2020-06-18 | Added tooltip for should_panic code examples. | Jake Degen | -0/+8 | |
| Previously, compile_fail and ignore code examples displayed a tooltip indicating this in the documentation. This tooltip has now also been added to should_panic examples. | ||||
| 2020-05-12 | Rollup merge of #71928 - mibac138:strikethrough, r=GuillaumeGomez | Dylan DPC | -3/+11 | |
| Add strikethrough support to rustdoc Implements uncontroversial part of #71183. r? @GuillaumeGomez | ||||
| 2020-05-06 | Add strikethrough support to rustdoc | mibac138 | -3/+11 | |
| 2020-05-05 | Index IDs already used by rustdoc template | Guillaume Gomez | -2/+29 | |
| 2020-04-23 | Fix librustdoc error due to `as_local_hir_id` changes | marmeladema | -2/+2 | |
| 2020-04-23 | Create new rustdoc lint to check for code blocks tags | Guillaume Gomez | -4/+114 | |
| 2020-04-16 | Dogfood or_patterns in rustdoc | Josh Stone | -2/+2 | |
| 2020-03-31 | more clippy fixes | Matthias Krüger | -64/+59 | |
| use is_empty() instead of len comparison (clippy::len_zero) use if let instead of while let loop that never loops (clippy::never_loop) remove redundant returns (clippy::needless_return) remove redundant closures (clippy::redundant_closure) use if let instead of match and wildcard pattern (clippy::single_match) don't repeat field names redundantly (clippy::redundant_field_names) | ||||
| 2020-03-07 | Use ?-operator in more places (clippy::question_mark, had some false ↵ | Matthias Krüger | -5/+1 | |
| negatives fixed recently) | ||||
| 2020-03-07 | rustdoc: don't call into_iter() on iterator. (clippy::identity_conversion) | Matthias Krüger | -1/+1 | |
| 2020-03-05 | Rollup merge of #69736 - matthiaskrgr:even_more_clippy, r=Dylan-DPC | Dylan DPC | -6/+2 | |
| even more clippy cleanups * Don't pass &mut where immutable reference (&) is sufficient (clippy::unnecessary_mut_passed) * Use more efficient &&str to String conversion (clippy::inefficient_to_string) * Don't always eval arguments inside .expect(), use unwrap_or_else and closure. (clippy::expect_fun_call) * Use righthand '&' instead of lefthand "ref". (clippy::toplevel_ref_arg) * Use simple 'for i in x' loops instead of 'while let Some(i) = x.next()' loops on iterators. (clippy::while_let_on_iterator) * Const items have by default a static lifetime, there's no need to annotate it. (clippy::redundant_static_lifetimes) * Remove redundant patterns when matching ( x @ _ to x) (clippy::redundant_pattern) | ||||
| 2020-03-05 | Use simple 'for i in x' loops instead of 'while let Some(x) = x.next()' ↵ | Matthias Krüger | -6/+2 | |
| loops on iterators. (clippy::while_let_on_iterator) | ||||
| 2020-03-04 | Use .as_deref() instead of .as_ref().map(Deref::deref) ↵ | Matthias Krüger | -2/+2 | |
| (clippy::option_as_ref_deref) | ||||
| 2020-02-29 | use .iter() instead of .into_iter() on references. | Matthias Krüger | -2/+2 | |
| 2020-02-27 | use char instead of &str for single char patterns | Matthias Krüger | -1/+1 | |
| 2020-02-24 | don't explicitly compare against true or false | Matthias Krüger | -2/+2 | |
| 2020-02-14 | Update pulldown-cmark dependency | Guillaume Gomez | -75/+95 | |
| 2020-01-16 | Don't keep link title either, text is generated outside of the link tag | Guillaume Gomez | -2/+1 | |
| 2020-01-14 | Prevent urls in headings | Guillaume Gomez | -2/+6 | |
| 2020-01-02 | Normalize `syntax::edition` imports. | Mazdak Farrokhzad | -3/+3 | |
| 2019-12-22 | Format the world | Mark Rousskov | -126/+118 | |
| 2019-11-08 | rustdoc: Stabilize `edition` annotation. | Eric Huss | -3/+1 | |
| 2019-09-13 | Move Toc printing from fmt::Display | Mark Rousskov | -1/+1 | |
| 2019-09-10 | Auto merge of #60387 - Goirad:test-expansion, r=ollie27 | bors | -11/+32 | |
| Allow cross-compiling doctests This PR allows doctest to receive a --runtool argument, as well as possibly many --runtool-arg arguments, which are then used to run cross compiled doctests. Also, functionality has been added to rustdoc to allow it to skip testing doctests on a per-target basis, in the same way that compiletest does it. For example, tagging the doctest with "ignore-sgx" disables testing on any targets that contain "sgx". A plain "ignore" still skips testing on all targets. See [here](https://github.com/rust-lang/cargo/pull/6892) for the companion PR in the cargo project that extends functionality in Cargo so that it passes the appropriate parameters to rustdoc when cross compiling and testing doctests. Part of [#6460](https://github.com/rust-lang/cargo/issues/6460) | ||||
| 2019-09-07 | rustdoc: fix diagnostic with mixed code block styles | Eric Huss | -1/+4 | |
| 2019-09-03 | added rustdoc book documentation, improved behavior when unstable flag not ↵ | Dario Gonzalez | -10/+4 | |
| present | ||||
| 2019-09-03 | added feature gate enable-per-target-ignores | Dario Gonzalez | -6/+11 | |
| updated and augmented tests in html/markdown.rs | ||||
| 2019-09-03 | Added ability to crosscompile doctests | Dario Gonzalez | -6/+28 | |
| 2019-08-26 | Shorten line during rendering instead of in markdown | Mark Rousskov | -19/+1 | |
| 2019-08-11 | Drop RefCell from IdMap in markdown rendering | Mark Rousskov | -12/+7 | |
| 2019-08-11 | Remove fmt::Display impls on Markdown structs | Mark Rousskov | -31/+26 | |
| These impls prevent ergonomic use of the config (e.g., forcing us to use RefCell) despite all usecases for these structs only using their Display impls once. | ||||
| 2019-08-11 | Remove thread-local for playground config | Mark Rousskov | -93/+110 | |
| 2019-08-02 | librustdoc: Unconfigure tests during normal build | Vadim Petrochenkov | -24/+3 | |
| 2019-06-16 | Fix tidy | Vadim Petrochenkov | -16/+21 | |
| 2019-06-16 | Separate librustcdoc module | chansuke | -127/+1 | |
| 2019-05-29 | upgrade rustdoc's `pulldown-cmark` to 0.5.2 | Andy Russell | -5/+5 | |
| Fixes #60482. | ||||
| 2019-05-06 | update rustdoc doc test | QuietMisdreavus | -1/+5 | |
| 2019-05-06 | update rustdoc unit tests | QuietMisdreavus | -4/+7 | |
| 2019-05-06 | set the default edition when pre-parsing a doctest | QuietMisdreavus | -25/+29 | |
| 2019-04-22 | upgrade rustdoc's pulldown-cmark to 0.4.1 | Andy Russell | -80/+37 | |
| 2019-02-23 | Transition librustdoc to 2018 edition | Hirokazu Hata | -13/+13 | |
| 2019-02-10 | rustc: doc comments | Alexander Regueiro | -5/+5 | |
| 2019-01-14 | rustdoc: check code block syntax in early pass | Andy Russell | -0/+109 | |
| 2018-12-25 | Remove licenses | Mark Rousskov | -10/+0 | |
| 2018-12-13 | Split on words instead | Guillaume Gomez | -2/+16 | |
| 2018-12-11 | Remove unneeded extra chars to reduce search-index size | Guillaume Gomez | -1/+5 | |
