Skip to content

Request: Add option to open documentation without rebuilding #9314

Open
@jacobmischka

Description

@jacobmischka

Describe the problem you are trying to solve
It would be handy if there were a way to open previously-generated project docs without necessarily rebuilding. Occasionally, my project is in a temporarily broken state, or I built the docs pretty recently or updated rust and don't feel like waiting for a rebuild.

Describe the solution you'd like
Something like cargo doc --open --skip-build would be great.

Notes
I'm currently navigating to the docs manually in my browser, which works fine, but isn't super convenient. Obviously this isn't a huge blocker, but would be nice to have.

I sort of assumed this probably existed already, but I read through the docs on several occasions and couldn't find anything that did what I wanted. Apologies if there is an existing way and I just missed it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-feature-requestCategory: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`Command-docS-triageStatus: This issue is waiting on initial triage.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions