Skip to content

[feature request] well-known URLs for crate links #197

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

Closed
durka opened this issue Oct 5, 2015 · 6 comments
Closed

[feature request] well-known URLs for crate links #197

durka opened this issue Oct 5, 2015 · 6 comments

Comments

@durka
Copy link
Contributor

durka commented Oct 5, 2015

I often type out a crates.io link, e.g. crates.io/crates/libc, with the sole intention of scrolling down and clicking "Documentation". But what if I could type crates.io/crates/libc/docs or crates.io/docs/libc and it would automatically redirect to the crate's doc link? Similarly for the homepage and repository links. A 404 is fine if the crate hasn't provided a link.

Does this sound like a useful feature?

[moved from rust-lang/cargo#2024]

@alexcrichton
Copy link
Member

Sounds like a good idea to me!

dirk added a commit to dirk/crates.io that referenced this issue Nov 3, 2015
@dirk dirk mentioned this issue Nov 3, 2015
3 tasks
dirk added a commit to dirk/crates.io that referenced this issue Nov 3, 2015
dirk added a commit to dirk/crates.io that referenced this issue Nov 3, 2015
@Turbo87
Copy link
Member

Turbo87 commented Nov 9, 2015

@durka I guess this can be closed now that #207 is merged, right?

@durka
Copy link
Contributor Author

durka commented Nov 9, 2015

Yes. Though now that it's simple I might open a new PR to add "/home" and "/repo" :)
How often is the live site rebuilt?

@durka durka closed this as completed Nov 9, 2015
@Turbo87
Copy link
Member

Turbo87 commented Nov 9, 2015

no idea, asked @alexcrichton the same thing in #208 just now

@durka
Copy link
Contributor Author

durka commented Nov 13, 2015

Ping?

@alexcrichton
Copy link
Member

Oh sorry, the site is deployed manually and I haven't done so yet (hit a few bugs and such), I hope to get it updated this week, however!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants