Tracking Issue for doc --scrape-examples #9910
Labels
C-tracking-issue
Category: A tracking issue for something unstable.
S-needs-mentor
Status: Issue or feature is accepted, but needs a team member to commit to helping and reviewing.
S-waiting-on-feedback
Status: An implemented feature is waiting on community feedback for bugs or design concerns.
Z-scrape-examples
Nightly: rustdoc scrape examples
Summary
RFC: #3123
Documentation:Nightly: rustdoc scrape examples
https://doc.rust-lang.org/nightly/cargo/reference/unstable.html#scrape-examples
https://doc.rust-lang.org/nightly/rustdoc/scraped-examples.html
Issues: Z-scrape-examples
This feature adds Cargo support for the new rustdoc
--scrape-examples
flag. The--scrape-examples
feature searches crates to find call-sites for functions, and then includes those call-sites as examples when documenting the called function. The Cargo integration is responsible for calling the analysis step (generating acall-locations.json
), and then passing that file torustdoc
.Unresolved issues
None right now
Future extensions
None expected right now
Implementation history
The text was updated successfully, but these errors were encountered: