Skip to content

Add direct link to documentation - #808

Closed
d-e-s-o wants to merge 1 commit into
time-rs:mainfrom
d-e-s-o:topic/docs-rs-link
Closed

Add direct link to documentation#808
d-e-s-o wants to merge 1 commit into
time-rs:mainfrom
d-e-s-o:topic/docs-rs-link

Conversation

@d-e-s-o

@d-e-s-o d-e-s-o commented Aug 27, 2026

Copy link
Copy Markdown

Make the URL to the documentation of the crate known in the manifest so that it will be easier to click through to it from a crates.io search.

Make the URL to the documentation of the crate known in the manifest so
that it will be easier to click through to it from a crates.io search.
@jhpratt

jhpratt commented Aug 28, 2026

Copy link
Copy Markdown
Member

https://doc.rust-lang.org/cargo/reference/manifest.html#the-documentation-field

If no URL is specified in the manifest file, crates.io will automatically link your crate to the corresponding docs.rs page when the documentation has been built and is available

@jhpratt jhpratt closed this Aug 28, 2026
@jhpratt jhpratt added the C-invalid Category: no issue exists or the issue cannot be reproduced label Aug 28, 2026
@d-e-s-o

d-e-s-o commented Aug 28, 2026

Copy link
Copy Markdown
Author

I don't know what that's supposed to mean, but if you check https://crates.io/search?q=time there is no direct link.

@jhpratt

jhpratt commented Aug 28, 2026

Copy link
Copy Markdown
Member

File an issue for that, then? I am 100% certain the lack of a field is correct here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

C-invalid Category: no issue exists or the issue cannot be reproduced

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants