Skip to content
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

Add a link in the docs theme for quickly editing the src on github #222

Closed
jeffwidman opened this issue Oct 31, 2020 · 2 comments
Closed

Comments

@jeffwidman
Copy link

I'm new to Rust and was poking around the docs and landed on the edition guide. I found a small typo, and wasn't sure where the source code for the edition guide was... although I eventually found it, it would have been much simpler if the site theme included a link straight to the source code for that particular page.

This is common on ReadTheDocs, where it will have a link that says "edit on github" or a github icon or similar that I can click to immediately view the underlying source, make edits, and submit a PR.

@steveklabnik
Copy link
Member

We would need mdbook to support this upstream. I don't know if it does or not.

@ehuss
Copy link
Contributor

ehuss commented May 25, 2021

A link was added in #228 (the little GitHub icon in the upper-right corner).

@ehuss ehuss closed this as completed May 25, 2021
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