-
Notifications
You must be signed in to change notification settings - Fork 9.9k
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
Hints to add offline documentation suggestions #1501
Comments
After you've completed the installation, everything should be available offline. If you're asking about other materials, for example the book, that can be accessed offline by running |
Thank for you good idea, how implements your suggestions? @Wilker-uwu This is my rust offline book file url. 1.get your username and your rust version.
I thinking this a trouble. maybe you can deploy port 443 https://github.com/rust-lang/book, then edit hosts file replace your own deploy offline book IP, after open online rust book equals open offline. Finally, simple way is replacing your info.toml hint field, but this project not only has one online url (https://doc.rust-lang.org/std https://doc.rust-lang.org/nomicon ...).
|
Yeah, trying to somehow dynamically replace those points in the hints is a misendeavour, I think, given the different kinds of environments people use Rustlings in. I see two possible ways to improve the situation here:
|
what if there was instead a way to implement in Rustup itself a way to open a given indexed section of the book or doc? maybe it would be easier to approach this issue if it was implemented on Rustup's side? |
Definitely! Feel free to open an issue on Rustup's side for that, if that does get implemented I'd be happy to add support for it here. |
I will close this issue because there is nothing Rustlings can do right now. It would be nice if rustup could take a link and open its offline equivalent. If this gets implemented, feel free to open an issue to add a hint in the introduction message :) |
hi! thank you for making this a thing, i appreciate it <3
i just wanted to ask if it would be good to make available commands and text to make the hints and similar text to be completely accessible offline, possibly all with
cargo doc
[...]--open
too. it would help me a lot since i will be without an internet connection very soon.thank you for the attention ^^
The text was updated successfully, but these errors were encountered: