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
Cannot load documentation on Linux with Firefox #3422
Comments
I could move the contents myself, but then the installation will be broken. Perhaps there could be a |
Poor man's solution is: mkdir ~/rust-docs
cp -R ~/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/share/doc/* ~/rust-docs
open ~/rust-docs/rust/html/index.html # using xdg-open alias
# OR simply
firefox ~/rust-docs # to be able browse from the root dir of all docs. But I'll have to redo this every time there's a rust update. |
This sounds like a rustup issue. Could you refile this there please? |
Apologies @carols10cents. Is that https://github.com/rust-lang/rustup ? |
Yup! |
Actually it's a much wider spread issue than rustup it has to do with firefox being a snap and snaps not having access to folders that start with a "." Not sure where the best place to file the issue is, but it's already been reported and I don't know if they have since found a way forward. But not only rust is affected anything that severs pages inside a folder that start with a "." |
Please see rust-lang/rustup#2988 and the issues linked to it for possible solutions/workarounds. Please do not open new issues here; they will be closed. |
main
branch to see if this has already been fixed, in this file:URL to the section(s) of the book with this problem:
The issue is that the local version of the book (or any of the docs cannot load)
Description of the problem:
When running
rustup doc
(or any variant) on Ubuntu since Firefox since it became a snap, I get a browser errorSuggested fix:
Place the contents of the docs elsewhere than in a hidden directory.
The text was updated successfully, but these errors were encountered: