Closed SteveLauC closed 1 year ago
Hi, @SteveLauC, thanks for the feedback. Prepending file://
before your path should work, I guess Chrome doesn't think the URL is valid if the protocol is missing. However, this should be improved to auto-adding file://
for the user.
Prepending file:// before your path should work
This works:)
I guess Chrome doesn't think the URL is valid if the protocol is missing
This is true, I am so stupid hhhh
Maybe an explicit document on how to enable this feature in section Offline mode: search local Rust docs would be great? I am happy to submit a patch to this section if you want:)
Thanks, feel free to improve the docs. 😄
Env
Steps to reproduce
offline mode
in the setting/home/steve/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/share/doc/rust/html/
in my casers
and a spaceVec
Enter
keyExpected behavior
Doc for
std::vec::Vec
should be open.Possible cause
Maybe the local doc path configured is wrong, but in the following demo video, we can see that if we open the URL given by
Rust search extension
, the corresponding doc can be successfully loaded, which probably indicates that the configured path should just be fine.Demo
Feel free to ask me anything that would help debug the issue:)