-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Closed
Labels
C-feature-requestCategory: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`Category: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`Command-doc
Description
I use cargo doc --open
to generate/update docs and open them in a browser, but often I want to view them in a non-default browser. Sometimes I want to use the viewer built into my IDE, sometimes I'm testing out a new browser, etc.
It would be nice if either cargo doc
printed the URL/path/link to the newly generated docs when it was done (similar to how cargo test
prints "Running target/debug/deps/foo"), or if a new option like cargo doc --link
, cargo doc --url
, etc could be added to do this.
If either of these sounds like a reasonable idea I could take a crack at putting a pull request together?
pravic, nic-hartley, kobenauf and correabuscar
Metadata
Metadata
Assignees
Labels
C-feature-requestCategory: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`Category: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`Command-doc