Skip to content

How to jump to last version where docs built successfully? #226

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
Boscop opened this issue Jul 28, 2018 · 3 comments
Closed

How to jump to last version where docs built successfully? #226

Boscop opened this issue Jul 28, 2018 · 3 comments

Comments

@Boscop
Copy link

Boscop commented Jul 28, 2018

A lot of crates' docs don't build successfully but there are earlier versions that bbuilt successfully.
E.g.:
[failed] https://docs.rs/actix-web/0.7.2/actix_web/
[works] https://docs.rs/actix-web/0.6.4/actix_web/ (but is it the latest working version of docs? you'd have to click through the versions to find out)

[failed] https://docs.rs/yew/0.4.0/yew/
[works] https://docs.rs/yew/0.2.0/yew/

I don't see a way to jump to the latest working docs. There should be a button at the top, when the docs failed to build.

@NPN
Copy link

NPN commented Aug 17, 2018

What should be done about the "Go to latest version" button then? Something like it should still display to let the user know that this is not the latest version, even if the latest version's docs are broken.

Maybe a general warning that this is not the latest version, but the latest version that has working docs?

@Boscop
Copy link
Author

Boscop commented Aug 21, 2018

The "Go to latest version" could still go to the docs of the most recent version, even if they failed to build.
There, it will show the button to "jump to latest version whose docs built successfully".
That way, the user will be aware (when they arrived at the latest working docs) that that version is not the latest crate version.

@jyn514
Copy link
Member

jyn514 commented Jan 10, 2020

This was added in #543 :) You can see it in action on e.g. https://docs.rs/crate/actix-web/0.7.2.

@jyn514 jyn514 closed this as completed Jan 10, 2020
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