Skip to content

[src] links should point to the "Source" tab #31

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

Open
MHordecki opened this issue Aug 27, 2016 · 4 comments
Open

[src] links should point to the "Source" tab #31

MHordecki opened this issue Aug 27, 2016 · 4 comments
Labels
E-hard Effort: This will require a lot of work P-low Low priority issues

Comments

@MHordecki
Copy link

Right now, [src] links in docs point at rustdoc-generated source listings such as this one. Given that docs.rs has its own native source tree browser, those links should point to that instead.

@onur onur added the wishlist label Aug 29, 2016
@bluss
Copy link
Member

bluss commented Sep 23, 2016

Don't do this until you have equivalent link-to-line functionality.

@Kixiron
Copy link
Member

Kixiron commented May 27, 2020

Triage: This can conceivably done with redirects, but we still don't have the same functionality as the source view generated by rustdoc

@jyn514
Copy link
Member

jyn514 commented May 27, 2020

There is work ongoing on this at rust-lang/rust#69167, but it won't be done any time soon.

@Nemo157
Copy link
Member

Nemo157 commented May 30, 2020

One issue with this may be that rustdoc creates pages for generated src too, check the [src] link on this page: https://docs.rs/web-sys/0.3.35/web_sys/console/fn.assert.html (but don't click it, it goes to a 90MB HTML file).

@jyn514 jyn514 added E-hard Effort: This will require a lot of work P-low Low priority issues and removed wishlist labels Jun 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
E-hard Effort: This will require a lot of work P-low Low priority issues
Projects
None yet
Development

No branches or pull requests

6 participants