Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign updocs.rs integration #419
Comments
steveklabnik
added
the
question
label
Aug 29, 2016
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
|
On the technical side I'd be more than willing to also set up webhooks for docs.rs to receive prompt notifications of new versions. Otherwise though we may want to start out with an opt-in form of "integrate this crate with docs.rs" and then gradually we can fill in to all crates that are otherwise missing a documentation link. I like the idea of a badge here as well, looks nifty to me! |
This comment has been minimized.
This comment has been minimized.
/cc #381 also /cc @ashleygwilliams, npm has stuff like this, and she was even trying to write something to subscribe to them with futures |
This comment has been minimized.
This comment has been minimized.
nikomatsakis
commented
Sep 1, 2016
|
I'm in favor of auto-linking to docs.rs :) |
This comment has been minimized.
This comment has been minimized.
erickt
commented
Sep 1, 2016
|
Me as well. This will be really handy. Is it possible to hint to docs.rs to build a docs with certain feature flags enabled? This is useful for libraries optionally exposing serde implementations. |
This comment has been minimized.
This comment has been minimized.
|
@erickt that is the next thing I will be working on, see onur/docs.rs#29 |
This comment has been minimized.
This comment has been minimized.
|
Not currently, but it's been one of the most common feature requests. On Thu, Sep 1, 2016 at 1:31 PM, Erick Tryzelaar notifications@github.com
|
This comment has been minimized.
This comment has been minimized.
|
I'd like to see this as well, for any crates that don't already have documentation links. Many that do should migrate to docs.rs as well, for convenient cross-referencing; we may want to start steering people in that direction once crates.io uses it by default. |
steveklabnik
added
C-enhancement
and removed
question
labels
Sep 26, 2016
This comment has been minimized.
This comment has been minimized.
|
Duplicating the status from #459 and #506: docs.rs now provides a way that crates.io can query for build status, so this issue is now for implementing a use of that information that only shows a docs.rs link on crates.io if the latest build has succeeded. There's documentation for the way to query docs.rs in: #506 (comment) |
This comment has been minimized.
This comment has been minimized.
|
Ok, so what needs to be done for this is:
As far as specifically how to implement this, I'm not entirely sure, but I'm thinking something along the lines of changing this
and then have javascript that looks for I'm open to better ideas though, I'm not sure if there's a good way to do this with Ember? Please let me know if you have any questions about working on this! |
carols10cents
added
A-ember
A-ui
E-easy
E-help-wanted
E-mentor
P-high
labels
Mar 9, 2017
This comment has been minimized.
This comment has been minimized.
|
And also document this behavior over in the docs that live in cargo, around here |
steveklabnik commentedAug 29, 2016
•
edited by carols10cents
See this comment for detailed info on what we're currently thinking of for the implementation
Recently, @onur released the awesome https://docs.rs/ , which autogenerates documentation from crates hosted on crates.io.
A lot of people have been asking how this might integrate with crates.io, so I wanted to open this thread to discuss possibilities.
One possibility I'd thought of: we could take any crate which doesn't have a "documentation" link, and replace it with a link to the page on crates.rs. @onur also thought that maybe a badge would work.
/cc @rust-lang/core