about summary refs log tree commit diff
path: root/src/doc/rustdoc
AgeCommit message (Collapse)AuthorLines
2020-10-28Fix typo "compiltest"Guillaume Gomez-1/+1
2020-10-21Clean up and improve some docsCamelid-13/+15
* compiler docs * Don't format list as part of a code block * Clean up some other formatting * rustdoc book * Update CommonMark spec version to latest (0.28 -> 0.29) * Clean up some various wording and formatting
2020-10-09Link to GitHub issue re macro resolutionCamelid-1/+3
Co-authored-by: Joshua Nelson <joshua@yottadb.com>
2020-10-08Update rustdoc intra-doc link docsCamelid-13/+40
* Describe generic parameters feature * Make general improvements to the docs
2020-10-07Auto merge of #77119 - GuillaumeGomez:unclosed-html-tag-lint, r=jyn514bors-0/+35
Unclosed html tag lint Part of #67799. I think `@ollie27` will be interested (`@Manishearth` too since they opened the issue ;) ). r? `@jyn514`
2020-10-06Rollup merge of #76855 - jyn514:platform-specific, r=ollie27Yuki Okushi-21/+50
Revamp rustdoc docs about documentation using `cfg` - Move `cfg(doc)` out of `unstable-features`. It's not unstable. - Remove outdated reference to `everybody_loops`. - Improve wording in various places - Give an example of code this allows (and does not allow) - Link to `cfg(doc)` in `doc(cfg)` documentation. Since one is stable and the other is not, don't combine them. - Cleanup wording for `doc(cfg)` - Incorporate changes from #76849 - Mention that `doc(cfg)` is also for features Addresses https://github.com/rust-lang/rust/pull/76849#issuecomment-694516199. Obsoletes https://github.com/rust-lang/rust/pull/76849 (I made sure to fix the weird dashes too). r? @steveklabnik
2020-10-05Revamp rustdoc docs about documentation using `cfg`Joshua Nelson-21/+50
- Move `cfg(doc)` out of `unstable-features`. It's not unstable. - Remove outdated reference to `everybody_loops`. - Improve wording in various places - Give an example of code this allows (and does not allow) - Link to `cfg(doc)` in `doc(cfg)` documentation. Since one is stable and the other is not, don't combine them. - Cleanup wording for `doc(cfg)` - Incorporate changes from #76849 - Mention that `doc(cfg)` is also for features
2020-10-03Make invalid_html_tags lint only run on nightly and being allowed by defaultGuillaume Gomez-2/+4
2020-10-03Add doc for invalid_html_tag lintGuillaume Gomez-0/+33
2020-10-02Rollup merge of #76811 - GuillaumeGomez:doc-alias-name-restriction, ↵Jonas Schievink-0/+2
r=oli-obk,ollie27 Doc alias name restriction Fixes #76705.
2020-10-02Update doc alias documentationGuillaume Gomez-0/+2
2020-09-27Add documentation for `private_intra_doc_links`Joshua Nelson-0/+40
2020-09-24Auto merge of #74430 - Manishearth:stabilize-intra-doc, r=Manishearthbors-61/+105
Stabilize intra-doc links Fixes https://github.com/rust-lang/rust/issues/43466 Thanks to the great work of `@jyn514` in getting the [cross-crate reexport issue](https://github.com/rust-lang/rust/issues/65983) in intra-rustdoc links fixed, I think we're now in a position to stabilize this feature. The tracking issue currently has two unresolved issues: - <s>behavior around doc(hidden): This is fixed in https://github.com/rust-lang/rust/pull/73365, which is just waiting for CI and should land tomorrow. It's also a pretty niche bug so while I expect it to land soon I don't think we need to block stabilization on it anyway.</s> - Non-identifier primitive types like slices: This was not a part of the original RFC anyway, and is a pretty niche use case The feature itself, sans https://github.com/rust-lang/rust/issues/65983, has been shipped on nightly for three years now, with people using it on docs.rs. https://github.com/rust-lang/rust/issues/65983 itself is not an overwhelmingly central bit of functionality; the reason we elected to block stabilization on it was that back in 2017 it was not possible to fix the issue without some major refactorings of resolve, and we did not want to stabilize something that had such a potentially unfixable bug. Given that we've fixed it, I see no reason to delay stabilization on this long awaited feature. It's possible that the latest patches have problems, however we _have_ done crater runs of some of the crucial parts. Furthermore, that's what the release trains are for, we will have a solid three months to let it ride the trains before it actually hits the stable compiler. r? `@rust-lang/rustdoc`
2020-09-17Update src/doc/rustdoc/src/linking-to-items-by-name.mdManish Goregaokar-1/+1
Co-authored-by: Joshua Nelson <joshua@yottadb.com>
2020-09-14Update src/doc/rustdoc/src/lints.mdManish Goregaokar-2/+2
Co-authored-by: Joshua Nelson <joshua@yottadb.com>
2020-09-14Stabilize doc_alias featureGuillaume Gomez-16/+14
2020-09-13Fix lint name in docsManish Goregaokar-1/+1
2020-09-13Resolve some conflictsManish Goregaokar-1/+1
2020-09-13Update src/doc/rustdoc/src/linking-to-items-by-name.mdManish Goregaokar-1/+1
Co-authored-by: Joshua Nelson <joshua@yottadb.com>
2020-09-13Update src/doc/rustdoc/src/linking-to-items-by-name.mdManish Goregaokar-1/+1
Co-authored-by: Joshua Nelson <joshua@yottadb.com>
2020-09-13Fill out docs on intra-doc resolution failure lintManish Goregaokar-4/+39
2020-09-13Mention URL fragmentsManish Goregaokar-0/+9
2020-09-13Mention super/crate/self in docsManish Goregaokar-1/+1
2020-09-13Move intra-doc-links documentation out of unstable sectionManish Goregaokar-57/+57
2020-09-13Link rustdoc lint docs to the rustdoc book.Eric Huss-0/+58
2020-09-10Add docs about crate level documentation supportarijit79-0/+23
2020-09-01Document lint missing_doc_code_examples is nightly-onlyJes Bak Hansen-1/+1
2020-08-23Document prim@ and primitive@Joshua Nelson-1/+1
2020-08-21Improve wordingGuillaume Gomez-1/+1
2020-08-20Add documentation for --show-coverage optionGuillaume Gomez-0/+33
2020-07-30intra_doc_resolution_failures -> broken_intra_doc_linksManish Goregaokar-1/+1
2020-07-30Rename to intra_doc_resolution_failuresManish Goregaokar-1/+1
2020-07-29Rename usage of intra_doc_link_resolution_failureManish Goregaokar-1/+1
2020-07-16Revert "Remove "important traits" feature"Manish Goregaokar-0/+21
This reverts commit 1244ced9580b942926afc06815e0691cf3f4a846.
2020-07-09Rollup merge of #74184 - Manishearth:doc-intra-doc, r=GuillaumeGomezManish Goregaokar-30/+42
Add docs for intra-doc-links Fixes https://github.com/rust-lang/rust/issues/66000 Hmm, for some reason my push closed the previous PR
2020-07-09Move to unstable sectionManish Goregaokar-89/+42
2020-07-09Update src/doc/rustdoc/src/intra-doc-links.mdManish Goregaokar-1/+0
2020-07-09Add docs for intra-doc-linksManish Goregaokar-0/+60
2020-07-08Fix broken link in rustdocdocYuki Okushi-1/+1
2020-06-06doc/rustdoc: Fix incorrect external_doc feature flagSean Wilson-1/+1
2020-05-07Fix `strip-priv-imports` pass name in the rustdoc documentationStanislav Tkach-1/+1
2020-04-07Corrects a typo in rustdoc documentation.Theo Sandstrom-3/+3
Fixes rust-lang#70856
2020-03-23Rollup merge of #69494 - GuillaumeGomez:stabilize-crate-version, ↵Mazdak Farrokhzad-12/+12
r=ehuss,aleksator,ollie27 Stabilize --crate-version option in rustdoc I don't see any reason to not stabilize it anymore, so let's go! cc @kinnison @ehuss r? @ollie27
2020-03-14Fix punctuation in rustdoc bookTimothée Gerber-1/+1
2020-03-14Change fenced code block type in rustdoc bookTimothée Gerber-1/+1
2020-03-14Clean up path separator in rustdoc bookTimothée Gerber-5/+5
2020-03-10Rollup merge of #69514 - GuillaumeGomez:remove-spotlight, r=kinnisonMazdak Farrokhzad-21/+0
Remove spotlight I had a few comments saying that this feature was at best misunderstood or not even used so I decided to organize a poll about on [twitter](https://twitter.com/imperioworld_/status/1232769353503956994). After 87 votes, the result is very clear: it's not useful. Considering the amount of code we have just to run it, I think it's definitely worth it to remove it. r? @kinnison cc @ollie27
2020-03-06fix various typosMatthias Krüger-1/+1
2020-02-27Remove "important traits" featureGuillaume Gomez-21/+0
2020-02-26Stabilize --crate-version option in rustdocGuillaume Gomez-12/+12