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

that “cargo doc” supports different versions of one crate seems more helpful #13327

Closed
miaomiao1992 opened this issue Jan 19, 2024 · 2 comments
Labels
C-feature-request Category: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted` Command-doc S-needs-info Status: Needs more info, such as a reproduction or more background for a feature request.

Comments

@miaomiao1992
Copy link

miaomiao1992 commented Jan 19, 2024

Problem

now, if i “cargo doc” higher version of one crate, the html files of lower version generated by “cargo doc” will be erased.

Proposed Solution

cargo doc should support different versions of one crate

Notes

No response

@miaomiao1992 miaomiao1992 added C-feature-request Category: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted` S-triage Status: This issue is waiting on initial triage. labels Jan 19, 2024
@rust-lang rust-lang deleted a comment from miaomiao1992 Mar 7, 2024
@epage epage added Command-doc S-needs-info Status: Needs more info, such as a reproduction or more background for a feature request. labels Mar 7, 2024
@epage
Copy link
Contributor

epage commented Mar 7, 2024

Could you add a reproduction case?

@weihanglo weihanglo removed the S-triage Status: This issue is waiting on initial triage. label Mar 28, 2024
@ehuss
Copy link
Contributor

ehuss commented Aug 19, 2024

Without more information, I'm going to close. If you have more information on your use case and how this would be useful to you, feel free to reopen. However, I suspect general support for this would be blocked on #10241, since we don't have the ability to have arbitrary directory names. I would suggest if you need something that retains multiple versions (like https://docs.rs/ does) that you'll just need to move the directories to a more suitable location.

@ehuss ehuss closed this as not planned Won't fix, can't repro, duplicate, stale Aug 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-feature-request Category: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted` Command-doc S-needs-info Status: Needs more info, such as a reproduction or more background for a feature request.
Projects
None yet
Development

No branches or pull requests

4 participants