| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2019-11-25 | Update documentation-tests.md | Parth Mehrotra | -1/+1 | |
| 2019-11-21 | move cfg(doc) docs into a separate page | QuietMisdreavus | -31/+35 | |
| 2019-11-21 | Rename the cfg attribute from rustdoc to doc | Guillaume Gomez | -5/+5 | |
| 2019-11-21 | Stabilize cfg rustdoc | Guillaume Gomez | -0/+31 | |
| 2019-11-18 | improve error messages and documentation | Guillaume Gomez | -13/+21 | |
| 2019-11-18 | Apply review comments | Guillaume Gomez | -1/+1 | |
| 2019-11-18 | Rename rustdoc options --themes and --check-themes to --theme and --check-theme | Guillaume Gomez | -4/+4 | |
| 2019-11-18 | remove unstable docs | Guillaume Gomez | -26/+2 | |
| 2019-11-18 | Improve documentation, add checks for themes option arguments, make sure the ↵ | Guillaume Gomez | -1/+4 | |
| themes file names are js compatible | ||||
| 2019-11-18 | Fix typos | Guillaume Gomez | -2/+2 | |
| Co-Authored-By: Oliver Middleton <olliemail27@gmail.com> | ||||
| 2019-11-18 | Rename theme-checker option to check-theme | Guillaume Gomez | -5/+5 | |
| 2019-11-18 | Apply review comments | Guillaume Gomez | -2/+2 | |
| 2019-11-18 | Add documentation for stabilized flags | Guillaume Gomez | -1/+21 | |
| 2019-11-13 | Rollup merge of #66166 - GuillaumeGomez:rename-rustdoc-to-doc, r=QuietMisdreavus | Yuki Okushi | -4/+4 | |
| rename cfg(rustdoc) into cfg(doc) Needed by https://github.com/rust-lang/rust/pull/61351 r? @QuietMisdreavus | ||||
| 2019-11-10 | Add rustdoc doc page for lints | Guillaume Gomez | -0/+126 | |
| 2019-11-10 | Add rustdoc doc page on how to write documentation | Guillaume Gomez | -0/+77 | |
| 2019-11-06 | rename cfg(rustdoc) into cfg(doc) | Guillaume Gomez | -4/+4 | |
| 2019-10-29 | Update since version for doctest feature | Guillaume Gomez | -1/+1 | |
| 2019-10-29 | improve documentation of rustdoc doctest feature | Guillaume Gomez | -7/+22 | |
| 2019-10-29 | stabilize cfg(doctest) | Guillaume Gomez | -30/+31 | |
| 2019-09-03 | added rustdoc book documentation, improved behavior when unstable flag not ↵ | Dario Gonzalez | -0/+50 | |
| present | ||||
| 2019-09-01 | remove the unstable rustdoc parameter --linker | Andreas Jonson | -13/+0 | |
| use the code generation parameter -Clinker (same parameter as rustc) to control what linker to use for building the rustdoc test executables. closes: #63816 | ||||
| 2019-07-23 | Adjust docs to new #[doc(include)] behaviour | Jonas Schievink | -3/+2 | |
| 2019-07-06 | rustdoc: set cfg(doctest) when collecting doctests | QuietMisdreavus | -0/+30 | |
| 2019-07-01 | Revert "implicit `Option`-returning doctests" | Guillaume Gomez | -13/+0 | |
| This reverts commit 6bb6c001be34d0932a014df981ee18f165c43374. | ||||
| 2019-05-31 | Rollup merge of #61372 - mati865:books, r=Centril,GuillaumeGomez | Pietro Albini | -6/+6 | |
| Migrate some books to mdbook version 0.2 There are 3 books still using old version but they need more effort so I hope to do them in subsequent PR if I find the time. | ||||
| 2019-05-30 | Migrate rustdoc book to MdBook2 | Mateusz Mikuła | -6/+6 | |
| 2019-05-28 | implicit `Option`-returning doctests | Andre Bogus | -0/+13 | |
| This distinguishes `Option` and `Result`-returning doctests with implicit `main` method, where the former tests must end with `Some(())`. | ||||
| 2019-05-26 | docs: fix typo #61197 | airt | -1/+1 | |
| 2019-05-16 | Rollup merge of #60278 - ehuss:doc-html_root_url, r=GuillaumeGomez | Manish Goregaokar | -0/+15 | |
| Document the `html_root_url` doc attribute value. I'm not sure if this was intentionally not documented, but I think it would be good to include. This was added in #9691. `--extern-html-root-url` is unstable, but I don't think it hurts to mention it. | ||||
| 2019-04-25 | Document the `html_root_url` doc attribute value. | Eric Huss | -0/+15 | |
| 2019-04-23 | Outdent example, preserving nested fence | Felix Rabe | -10/+10 | |
| 2019-02-28 | tweak docs for rustdoc's `--show-coverage` | QuietMisdreavus | -4/+8 | |
| 2019-02-28 | update docs for doc coverage | QuietMisdreavus | -2/+4 | |
| 2019-02-28 | tabs -> spaces | QuietMisdreavus | -4/+4 | |
| 2019-02-28 | add option to calculate documentation coverage | QuietMisdreavus | -0/+21 | |
| 2019-02-20 | fix typo | Andre Bogus | -1/+1 | |
| 2019-02-20 | Rollup merge of #56470 - llogiq:process-termination-doctest, r=GuillaumeGomez | kennytm | -0/+17 | |
| Modify doctest's auto-`fn main()` to allow `Result`s This lets the default `fn main()` ~~return `impl Termination`~~ unwrap Results, which allows the use of `?` in most tests without adding it manually. This fixes #56260 ~~Blocked on `std::process::Termination` stabilization.~~ Using `Termination` would have been cleaner, but this should work OK. | ||||
| 2019-02-17 | Modify doctest's auto-`fn main()` to allow `Result`s | Andre Bogus | -0/+17 | |
| This lets the default `fn main()` unwrap any `Result`s, which allows the use of `?` in most tests without adding it manually. | ||||
| 2019-02-09 | Some writing improvement, conciseness of intro | Robert Hayek | -4/+3 | |
| 2019-01-17 | Bless test. | Wesley Norris | -1/+9 | |
| Bless test, remove submodule, and fix book entry. bless test again? maybe it'll work this time... | ||||
| 2019-01-17 | Add book section and fix typo. | Wesley Norris | -0/+4 | |
| 2019-01-03 | Fix repeated word typos | Wiktor Kuchta | -1/+1 | |
| Found with `git grep -P '\b([a-z]+)\s+\1\b'` | ||||
| 2018-12-20 | new --static-root-path flag for controlling static file locations | QuietMisdreavus | -0/+15 | |
| 2018-11-09 | don't inline `pub use some_crate` unless directly asked to | QuietMisdreavus | -0/+3 | |
| 2018-11-02 | Move doc_alias doc | Guillaume Gomez | -16/+16 | |
| 2018-11-02 | Add documentation for index-page features | Guillaume Gomez | -0/+13 | |
| 2018-09-20 | Add documentation about the edition flag | Philip Munksgaard | -0/+16 | |
| 2018-09-09 | Stabilize the 2018 edition | Mark Rousskov | -13/+14 | |
| 2018-09-01 | Rollup merge of #53076 - QuietMisdreavus:cfg-rustdoc, r=GuillaumeGomez | kennytm | -11/+9 | |
| set cfg(rustdoc) when rustdoc is running on a crate When using `#[doc(cfg)]` to document platform-specific items, it's a little cumbersome to get all the platforms' items to appear all at once. For example, the standard library adds `--cfg dox` to rustdoc's command line whenever it builds docs, and the documentation for `#![feature(doc_cfg)]` suggests using a Cargo feature to approximate the same thing. This is a little awkward, because you always need to remember to set `--features dox` whenever you build documentation. This PR proposes making rustdoc set `#[cfg(rustdoc)]` whenever it runs on a crate, to provide an officially-sanctioned version of this that is set automatically. This way, there's a standardized way to declare that a certain version of an item is specifically when building docs. To try to prevent the spread of this feature from happening too quickly, this PR also restricts the use of this flag to whenever `#![feature(doc_cfg)]` is active. I'm sure there are other uses for this, but right now i'm tying it to this feature. (If it makes more sense to give this its own feature, i can easily do that.) | ||||
