summary refs log tree commit diff
path: root/src/doc
AgeCommit message (Collapse)AuthorLines
2018-04-01Rollup merge of #49451 - QuietMisdreavus:epoch-doctests, r=GuillaumeGomezMark Simulacrum-0/+13
rustdoc: add an --edition flag to compile docs/doctests with a certain edition To correspond with the 2018 edition, this adds a (currently unstable) `--edition` flag to rustdoc that makes it compile crates and doctests with the given edition. Once this lands, Cargo should be updated to pass this flag when the edition configuration option is given.
2018-03-30Rollup merge of #49445 - GuillaumeGomez:light-theme, r=QuietMisdreavuskennytm-3/+3
Rename main theme into light theme r? @QuietMisdreavus
2018-03-29Rename main theme into light themeGuillaume Gomez-3/+3
2018-03-28Auto merge of #49460 - kennytm:rollup, r=kennytmbors-23/+0
Rollup of 12 pull requests - Successful merges: #49243, #49329, #49364, #49400, #49405, #49427, #49428, #49429, #49439, #49442, #49444, #49452 - Failed merges:
2018-03-28Rollup merge of #49243 - murarth:stabilize-retain, r=BurntSushikennytm-23/+0
Stabilize method `String::retain` Closes #43874
2018-03-28Stabilize match_default_bindingsTaylor Cramer-58/+0
This includes a submodule update to rustfmt in order to allow a stable feature declaration.
2018-03-27talk about --edition in the Rustdoc BookQuietMisdreavus-0/+13
2018-03-26Fix missed i128 feature gatesMark Mansi-1/+1
2018-03-26Rename unstable book correctlyMark Mansi-3/+3
2018-03-26Rename unstable-book chapterMark Mansi-0/+0
2018-03-26Stabilize i128 feature tooMark Mansi-1/+1
2018-03-26Update nightly bookMark Mansi-13/+6
2018-03-26Stabilize conservative_impl_traitTaylor Cramer-66/+0
2018-03-26Stabilize universal_impl_traitTaylor Cramer-32/+0
2018-03-25Rollup merge of #49318 - steveklabnik:update-books, r=kennytmkennytm-0/+0
update books for next release
2018-03-25Rollup merge of #49194 - Zoxc:unsafe-generator, r=cramertjkennytm-10/+10
Make resuming generators unsafe instead of the creation of immovable generators cc @withoutboats Fixes #47787
2018-03-24update books for next releasesteveklabnik-0/+0
2018-03-23Rollup merge of #49028 - ↵Alex Crichton-0/+363
QuietMisdreavus:the-dark-forbidden-corners-of-rustdoc, r=frewsxcv add an "unstable features" chapter to the rustdoc book There are several rustdoc features that currently are undocumented, but also don't fit with the rest of the Rustdoc Book since they're also unstable. Some of these have corresponding feature gates and chapters in the Unstable Book, but many don't, and i wanted a place to talk about them officially. Goal: talk about everything rustdoc can do that needs nightly - [x] Feature gates (extensions to the doc attribute that can be caught by the compiler) - [x] doc(cfg) - [x] doc(masked) - [x] doc(spotlight) - [x] doc(include) - [x] Command-line flags (features that require a CLI flag to use, where the flag itself is a `-Z` command or otherwise requires `-Z unstable-options` before rustdoc will accept it) - [x] markdown-before-content/markdown-after-content - [x] playground-url - [x] display-warnings - [x] crate-version - [x] linker - [x] sort-modules-by-appearance - [x] themes/theme-checker - [x] resource-suffix - [x] `-Z force-unstable-if-unmarked` - [x] Nightly-gated functionality (features that are gated by requiring a nightly build without needing a CLI flag or a feature gate to unlock) - [x] intra-links - [x] error numbers for `compile_fail` doctests
2018-03-21Stabilize method `String::retain`Murarth-23/+0
2018-03-21review commentsQuietMisdreavus-11/+13
2018-03-21Make resuming generators unsafe instead of the creation of immovable ↵John Kåre Alsaker-10/+10
generators. Fixes #47787
2018-03-20talk about force-unstable-if-unmarkedQuietMisdreavus-0/+13
2018-03-20talk about --display-warningsQuietMisdreavus-0/+16
2018-03-20Stabilize slice patterns without `..`Vadim Petrochenkov-47/+16
Merge `feature(advanced_slice_patterns)` into `feature(slice_patterns)`
2018-03-16talk about --resource-suffixQuietMisdreavus-0/+13
2018-03-16talk about --themes and --theme-checkerQuietMisdreavus-0/+24
2018-03-16talk about --sort-modules-by-appearanceQuietMisdreavus-0/+13
2018-03-16talk about --linkerQuietMisdreavus-0/+13
2018-03-16talk about --crate-versionQuietMisdreavus-0/+12
2018-03-16Auto merge of #49051 - kennytm:rollup, r=kennytmbors-0/+16
Rollup of 17 pull requests - Successful merges: #48706, #48875, #48892, #48922, #48957, #48959, #48961, #48965, #49007, #49024, #49042, #49050, #48853, #48990, #49037, #49049, #48972 - Failed merges:
2018-03-15talk about --playground-urlQuietMisdreavus-0/+23
2018-03-16Rollup merge of #48961 - Songbird0:rustdoc_doctests_assertions, r=GuillaumeGomezkennytm-0/+16
Rustdoc: example of use of assertions I added this section at the beginning of the file because it seems to be basic information. Let me know if there's someplace more relevant. See #47945.
2018-03-15talk about --markdown-(before|after)-contentQuietMisdreavus-0/+28
2018-03-15add new section about CLI flagsQuietMisdreavus-0/+7
2018-03-15fix linkQuietMisdreavus-1/+1
2018-03-15Stabilize `inclusive_range_syntax` language feature.kennytm-20/+0
Stabilize the syntax `a..=b` and `..=b`.
2018-03-14add headings to categorize the featuresQuietMisdreavus-6/+18
2018-03-14talk about doc(include)QuietMisdreavus-3/+19
2018-03-14talk about doc(masked)QuietMisdreavus-0/+20
2018-03-14talk about doc(spotlight)QuietMisdreavus-0/+20
2018-03-14talk about doc(cfg)QuietMisdreavus-0/+52
2018-03-13talk about intra-linksQuietMisdreavus-0/+45
2018-03-13Add a section for using assertions into doc tests.Anthony Defranceschi-0/+16
See #47945.
2018-03-12talk about error numbers for compile_fail doctestsQuietMisdreavus-0/+23
2018-03-12add page to the Rustdoc Book about unstable featuresQuietMisdreavus-0/+11
2018-03-12big fences to show that ```rust is the same as ```QuietMisdreavus-0/+4
2018-03-08Stabilize const_indexing featureOliver Schneider-19/+0
2018-03-08Move librustc_const_eval to librustc_mirOliver Schneider-1/+0
2018-02-28Rollup merge of #48359 - jsgf:remap-path-prefix, r=sanxiynManish Goregaokar-37/+10
Fixes #47311. r? @nrc
2018-02-25Rollup merge of #48166 - ↵kennytm-77/+0
hedgehog1024:hedgehog1024-stabilize-entry_and_modify, r=alexcrichton Stabilize 'entry_and_modify' feature Stabilize `entry_and_modify` feature introduced by #44734. Closes #44733