Link to examples on crates.io is incorrect #1106
Labels
A-docs
Area: documentation, including docs.rs, readme, examples, etc...
C-enhancement
Category: Raise on the bar on expectations
E-easy
Call for participation: Experience needed to fix: Easy / not much
Affected Version of clap
Expected Behavior Summary
Viewing docs on crates.io/clap, clicking hyperlinks to the git repo, specifically to the "examples/" directory takes me to the correct URL.
Actual Behavior Summary
Link is a broken 404 (due to the
.git
in the URL path).How to Fix
I think if we change the Cargo.toml
repository
link fromrepository = "https://github.com/kbknapp/clap-rs.git"
torepository = "https://github.com/kbknapp/clap-rs"
that will fix it.CC @kivikakk who contributed some of the relevant crates.io rendering code to consider whether it makes sense for crates.io to try to handle both situations directly.
The text was updated successfully, but these errors were encountered: