| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 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 | |
| 2018-11-10 | Remove short doc where it starts with a codeblock | Guillaume Gomez | -22/+28 | |
| 2018-11-04 | add Debug impls for the Options structs | QuietMisdreavus | -1/+1 | |
| 2018-11-02 | swap uses of Matches with pre-parsed args | QuietMisdreavus | -1/+1 | |
| 2018-10-09 | Add lint for doc without codeblocks | Guillaume Gomez | -2/+4 | |
| 2018-09-20 | Add a documentation banner for edition specific code | Philip Munksgaard | -13/+44 | |
| 2018-09-19 | Add support for running doc test in specific edition | Philip Munksgaard | -18/+32 | |
| 2018-08-28 | Use FxHash{Map,Set} instead of the default Hash{Map,Set} everywhere in rustc. | Eduard-Mihai Burtescu | -5/+6 | |
| 2018-08-07 | Avoid unnecessary pattern matching against Option and Result | ljedrz | -1/+1 | |
| 2018-07-31 | Cleanup highlighting code | Mark Rousskov | -1/+0 | |
| Removes some unused code and de-publicizes structs | ||||
| 2018-07-31 | Remove global derive_id and reset_ids functions | Mark Rousskov | -49/+105 | |
| Previously these functions relied on TLS but we can instead thread the relevant state through explicitly. | ||||
| 2018-07-31 | Format code for easier editing | Mark Rousskov | -6/+5 | |
| 2018-07-31 | Further extract error code switch | Mark Rousskov | -27/+54 | |
| Removes dependency on UnstableFeatures from markdown rendering | ||||
| 2018-07-31 | Remove dependency on error handling from find_testable_code | Mark Rousskov | -8/+13 | |
| 2018-07-31 | Provide test configuration through struct | Mark Rousskov | -15/+10 | |
| This is far more sound than passing many different arguments of the same type. | ||||
| 2018-07-31 | Provide warnings for invalid code blocks in markdown files | Mark Rousskov | -5/+3 | |
| Previously we would only warn on Rust code but we can also do so when testing markdown (the diag::Handler is available). | ||||
| 2018-07-31 | Pull out nightly checking to edges | Mark Rousskov | -8/+7 | |
| Parsing the code block's LangString (```foo) previously checked itself to see if we were on nightly; that isn't the right place to do so. Move that check slightly outwards to better abstract LangString. (This is also an optimization as we avoid the costly environment variable load of RUSTC_BOOTSTRAP). | ||||
| 2018-07-27 | Prefer to_string() to format!() | ljedrz | -4/+4 | |
| 2018-07-06 | Auto merge of #51861 - GuillaumeGomez:prevent-some-markdown-short-doc, ↵ | bors | -7/+36 | |
| r=QuietMisdreavus Prevent some markdown transformation on short docblocks Before: <img width="1440" alt="screen shot 2018-06-28 at 01 46 01" src="https://user-images.githubusercontent.com/3050060/42005762-7d533bbe-7a76-11e8-8361-027886803399.png"> After: <img width="1440" alt="screen shot 2018-06-28 at 01 46 02" src="https://user-images.githubusercontent.com/3050060/42005768-81bd59a0-7a76-11e8-819b-9b4be72579d6.png"> This is only performed on short doc blocks, not on plain ones. Not all transformations are prevented (you still have a few like urls, code blocks, etc...). cc @nical r? @QuietMisdreavus | ||||
| 2018-06-28 | Prevent some markdown transformation on short docblocks | Guillaume Gomez | -7/+36 | |
| 2018-06-26 | rustdoc codeblock hash escape | Lucas Morales | -10/+10 | |
| 2018-06-03 | Show which line the link is coming from. | kennytm | -3/+22 | |
| 2018-03-22 | Rollup merge of #49189 - GuillaumeGomez:fix-implied-shortcut-links, ↵ | kennytm | -2/+2 | |
| r=QuietMisdreavus Fix automatic urls with backticks Fixes #49164. r? @QuietMisdreavus | ||||
| 2018-03-19 | Fix automatic urls with backticks | Guillaume Gomez | -2/+2 | |
| 2018-03-18 | Add warning for invalid start of code blocks in rustdoc | Guillaume Gomez | -1/+6 | |
| 2018-03-16 | fix doctest | QuietMisdreavus | -1/+1 | |
| 2018-02-21 | Rollup merge of #48382 - GuillaumeGomez:fix-rustdoc-test-panic, r=estebank | Guillaume Gomez | -12/+15 | |
| Fix rustdoc test ICE Fixes #48377. r? @QuietMisdreavus | ||||
