Skip to content

Tracking Issue for --output-format flag for cargo rustdoc #13283

Open
@weihanglo

Description

@weihanglo

Summary

Original issue: #12103
Implementation: #12252
Documentation: https://doc.rust-lang.org/nightly/cargo/reference/unstable.html#output-format-for-rustdoc

This flag determines the output format of cargo rustdoc, providing tools a way to lean on rustdoc's experimental JSON format.

Unresolved Issues

  • Make sure it doesn't cause errors with --open flag when opening JSON file.
  • Interaction with -Z rustdoc-scrape-examples. Does the JSON include the scraped data? Or should scraping be disabled when generating the JSON?
  • Add it to cargo doc as well? We might need to address the output JSON name conflict.

Future Extensions

No response

About tracking issues

Tracking issues are used to record the overall progress of implementation.
They are also used as hubs connecting to other relevant issues, e.g., bugs or open design questions.
A tracking issue is however not meant for large scale discussion, questions, or bug reports about a feature.
Instead, open a dedicated issue for the specific matter and add the relevant feature gate label.

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-tracking-issueCategory: A tracking issue for something unstable.Command-rustdocS-waiting-on-feedbackStatus: An implemented feature is waiting on community feedback for bugs or design concerns.

    Type

    No type

    Projects

    Status

    Unstable, baking

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions