Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix scraping of examples on docs.rs. #40

Closed
djmitche opened this issue Apr 26, 2023 · 1 comment · Fixed by #44
Closed

Fix scraping of examples on docs.rs. #40

djmitche opened this issue Apr 26, 2023 · 1 comment · Fixed by #44
Assignees

Comments

@djmitche
Copy link
Owner

It appears that the -Zrustdoc-scrape-examples no longer works, at least not on docs.rs. But rust-lang/rust#88791 suggests it still should.

Maybe that's due to the use of workspaces?

@djmitche djmitche self-assigned this Apr 26, 2023
@djmitche
Copy link
Owner Author

Ah:

warning: Rustdoc did not scrape the following examples because they require dev-dependencies: kv
    If you want Rustdoc to scrape these examples, then add `doc-scrape-examples = true`
    to the [[example]] target configuration of at least one example.

@djmitche djmitche linked a pull request Jun 19, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant