Change --scrape-examples flag to -Z rustdoc-scrape-examples#10017
Merged
bors merged 1 commit intorust-lang:masterfrom Oct 29, 2021
Merged
Change --scrape-examples flag to -Z rustdoc-scrape-examples#10017bors merged 1 commit intorust-lang:masterfrom
bors merged 1 commit intorust-lang:masterfrom
Conversation
|
(rust-highfive has picked a reviewer for you, use r? to override) |
Member
|
@bors: r+ |
Contributor
|
📌 Commit 9fb78cf has been approved by |
Contributor
Contributor
|
☀️ Test successful - checks-actions |
bors
added a commit
to rust-lang-ci/rust
that referenced
this pull request
Nov 2, 2021
Update cargo 3 commits in 6c1bc24b8b49d4bc965f67d7037906dc199c72b7..94ca096afbf25f670e76e07dca754fcfe27134be 2021-10-24 17:51:41 +0000 to 2021-10-29 14:45:06 +0000 - Chore: prefer `HashMap::from` rather than collecting `Vec` of tuples (rust-lang/cargo#10018) - Change --scrape-examples flag to -Z rustdoc-scrape-examples (rust-lang/cargo#10017) - Scrape code examples from examples/ directory for Rustdoc (rust-lang/cargo#9525)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
I'm working on getting the scrape examples feature working on docs.rs. However, docs.rs uses
cargo rustdocinstead ofcargo doc, and right now the--scrape-examplesflag is only allowed forcargo doc. So this PR changes it to a-Zflag that can be passed to either command.