about summary refs log tree commit diff
path: root/src/doc
AgeCommit message (Collapse)AuthorLines
2019-12-06Fix linksYuki Okushi-17/+8
2019-12-03Remove reference to run-pass testsLaurențiu Nicola-3/+1
2019-12-03fix linksTshepang Lekhonkhobe-5/+5
2019-12-02Rollup merge of #66245 - tmiasko:cfg-sanitize, r=oli-obkRalf Jung-0/+36
Conditional compilation for sanitizers Configure sanitize option when compiling with a sanitizer to make it possible to execute different code depending on whether given sanitizer is enabled or not.
2019-12-01rustc_lint: Remove lint `plugin_as_library`Vadim Petrochenkov-14/+1
2019-12-01rustc_plugin: Remove support for plugin argumentsVadim Petrochenkov-4/+0
2019-12-01Conditional compilation for sanitizersTomasz Miąsko-0/+36
Configure sanitize option when compiling with a sanitizer to make it possible to execute different code depending on whether given sanitizer is enabled or not.
2019-11-27Add Karrq's salsa chapter (#529)Who? Me?!-1/+216
* add Karrq's salsa chapter * add youtu.be short url
2019-11-26Update src/walkthrough.mdWho? Me?!-1/+1
Co-Authored-By: Yuki Okushi <huyuumi.dev@gmail.com>
2019-11-26Define FCP where first usedMark Mansi-7/+7
2019-11-26Revert "website has disappeared"Who? Me?!-0/+3
This reverts commit 0930e773f1123f9c118f81af3f00b09f1dafc17e.
2019-11-26Don't run mdbook testWho? Me?!-1/+0
We don't want to test almost any of our code blocks... none of them are valid on their own...
2019-11-26Couple of changes to code so that its safeHanif Bin Ariffin-52/+52
Specifically, `> $1` causes it to write into the file $1 if it exist And `> ./x.py` is particularly bad because it overwrite the script with empty spaces...
2019-11-26Fix typoIvan Tham-2/+2
2019-11-26website has disappearedMark Mansi-3/+0
2019-11-26-Cllvm-arg is actually -Cllvm-argsTyler Mandry-2/+2
2019-11-25Update documentation-tests.mdParth Mehrotra-1/+1
2019-11-25Update cargo, rls, books.Eric Huss-0/+0
2019-11-24rustc_plugin: Remove support for syntactic pluginsVadim Petrochenkov-129/+1
2019-11-23Rollup merge of #61351 - GuillaumeGomez:stabilize-cfg-rustdoc, r=QuietMisdreavusMazdak Farrokhzad-0/+35
Stabilize cfg(doc) cc #43781.
2019-11-23Auto merge of #66653 - ivan:lint-name-fix, r=Centrilbors-1/+1
docs: fix lint name for `unused_variables`
2019-11-23docs: fix lint name for `unused_variables`Ivan Kozik-1/+1
2019-11-21Add entry for `const_if_match` in unstable bookDylan MacKenzie-0/+14
2019-11-21move cfg(doc) docs into a separate pageQuietMisdreavus-31/+35
2019-11-21Rename the cfg attribute from rustdoc to docGuillaume Gomez-5/+5
2019-11-21Stabilize cfg rustdocGuillaume Gomez-0/+31
2019-11-20Minor mir chapter fixesSantiago Pastorino-2/+2
2019-11-19ty.md: fix a typohomersimpsons-2/+2
2019-11-18Auto merge of #54733 - GuillaumeGomez:stabilize-rustdoc-theme, ↵bors-25/+32
r=ollie27,Dylan-DPC Stabilize rustdoc theme options Closes #54730 This PR stabilizes the `--themes` (now `--theme`) and `--theme-checker` (now `--check-theme`) options, for allowing users to add custom themes to their documentation. Rustdoc includes two themes by default: `light` and `dark`. Using the `--theme` option, you can give rustdoc a CSS file to include as an extra theme for that render. Themes are named after the CSS file used, so using `--theme /path/to/your/custom-theme.css` will add a theme called `custom-theme` to the documentation. Even though the CLI flag to add a theme is getting stabilized, there's no guarantee that a theme file will always have the same effect on documentation generated with future versions of rustdoc. To aid in ensuring that a theme will work, the flag `--check-theme` is also available, which compares the CSS rules defined by a custom theme against the ones used in the `light` theme. If the `light` theme defines a CSS rule that the custom theme does not, rustdoc will report an error. (Rustdoc also performs this check for themes given to `--theme`, but only reports a warning when a difference is found.)
2019-11-18improve error messages and documentationGuillaume Gomez-13/+21
2019-11-18Apply review commentsGuillaume Gomez-1/+1
2019-11-18Rename rustdoc options --themes and --check-themes to --theme and --check-themeGuillaume Gomez-4/+4
2019-11-18remove unstable docsGuillaume Gomez-26/+2
2019-11-18Improve documentation, add checks for themes option arguments, make sure the ↵Guillaume Gomez-1/+4
themes file names are js compatible
2019-11-18Fix typosGuillaume Gomez-2/+2
Co-Authored-By: Oliver Middleton <olliemail27@gmail.com>
2019-11-18Rename theme-checker option to check-themeGuillaume Gomez-5/+5
2019-11-18Apply review commentsGuillaume Gomez-2/+2
2019-11-18Add documentation for stabilized flagsGuillaume Gomez-1/+21
2019-11-17Auto merge of #66336 - ehuss:update-cargo-books, r=Mark-Simulacrumbors-0/+0
Update Cargo, books ## cargo 12 commits in 5da4b4d47963868d9878480197581ccbbdaece74..8280633db680dec5bfe1de25156d1a1d53e6d190 2019-10-28 21:53:41 +0000 to 2019-11-11 23:17:05 +0000 - Don't panic when parsing `/proc/stat` (rust-lang/cargo#7580) - Fix unused configuration key warning for a few keys under `build`. (rust-lang/cargo#7575) - Add back support for `BROWSER` envvar in `cargo doc --open`. (rust-lang/cargo#7576) - Only include "already existing ..." comment in gitignore on conflict (rust-lang/cargo#7570) - Add VS Code user dir to .gitignore (rust-lang/cargo#7578) - Added aliases to subcommand typo suggestions. (rust-lang/cargo#7486) - Use multiple requirement syntax consistently (rust-lang/cargo#7573) - Update verison to 0.42 (rust-lang/cargo#7568) - Expand documentation on build scripts. (rust-lang/cargo#7565) - Update crossbeam-utils requirement from 0.6 to 0.7 (rust-lang/cargo#7566) - don't download std-docs on CI (rust-lang/cargo#7513) - Change my-buddy to github-handle (rust-lang/cargo#7553) ## nomicon 2 commits in 5004ad30d69f93553ceef74439fea2159d1f769e..58e36e0e08dec5a379ac568827c058e25990d6cd 2019-10-12 19:52:40 +0200 to 2019-10-30 08:14:24 -0500 - remove references to the nursery - Add github action to replace Travis.yml (rust-lang-nursery/nomicon#172) ## reference 7 commits in 4b21b646669e0af49fae7cae301898dc4bfaa1f0..45558c464fb458affbcdcb34323946da45c8a117 2019-10-27 22:33:11 +0100 to 2019-11-08 14:47:35 +0100 - Audit code blocks. (rust-lang-nursery/reference#715) - Update coherence and orphan rules documentation to match RFC 2451 (rust-lang-nursery/reference#703) - Update organization name (rust-lang-nursery/reference#713) - State that no_implicit_prelude also applies to nested modules (rust-lang-nursery/reference#707) - expand Copy docs (rust-lang-nursery/reference#711) - github action doesn't use the nursery (rust-lang-nursery/reference#706) - Migrate to GitHub Actions. (rust-lang-nursery/reference#705) ## book 1 commits in 28fa3d15b0bc67ea5e79eeff2198e4277fc61baf..e79dd62aa63396714278d484d91d48826737f47f 2019-10-29 07:16:09 -0500 to 2019-10-30 07:33:12 -0500 - No need for an iterator here to fetch values (rust-lang/book#1957) ## rust-by-example 1 commits in f3197ddf2abab9abdbc029def8164f4a748b0d91..dcee312c66267eb5a2f6f1561354003950e29105 2019-10-29 10:17:40 -0300 to 2019-10-31 11:26:53 -0300 - refactor: simplify extracting Result from Option (rust-lang/rust-by-example#1283) ## edition-guide 2 commits in e58bc4ca104e890ac56af846877c874c432a64b5..f553fb26c60c4623ea88a1cfe731eafe0643ce34 2019-07-31 20:14:12 +0200 to 2019-10-30 08:27:42 -0500 - remove old references to the nursery - Port from Travis to GitHub Actions (rust-lang-nursery/edition-guide#192)
2019-11-16Auto merge of #66333 - mark-i-m:fix-rustc-guide-1, r=ehussbors-0/+0
Fix rustc guide again r? @ehuss Sorry, links change fast in this world...
2019-11-14some cleanupMark Mansi-20/+2
2019-11-14typoWho? Me?!-1/+1
Co-Authored-By: Yuki Okushi <huyuumi.dev@gmail.com>
2019-11-14typoWho? Me?!-1/+1
Co-Authored-By: Yuki Okushi <huyuumi.dev@gmail.com>
2019-11-14add oli noteMark Mansi-1/+6
2019-11-14add something for mir optMark Mansi-0/+44
2019-11-13add compilers biblio (#512)Who? Me?!-0/+35
2019-11-13Rollup merge of #66166 - GuillaumeGomez:rename-rustdoc-to-doc, r=QuietMisdreavusYuki Okushi-6/+6
rename cfg(rustdoc) into cfg(doc) Needed by https://github.com/rust-lang/rust/pull/61351 r? @QuietMisdreavus
2019-11-12backtraces work on Macksqsf-2/+2
2019-11-12Update Cargo, booksEric Huss-0/+0
2019-11-12update rustc-guideMark Mansi-0/+0