sunaku / dasht

💁 Search API docs offline, in terminal or browser
https://sunaku.github.io/dasht/man
827 stars 26 forks source link

Open root rust guide? #47

Closed tmpm697 closed 4 years ago

tmpm697 commented 4 years ago

I installed rust docset via: dasht-docsets-install Rust I notice it include rust guide and search through, but how to open rust root guide like open firefox with url: https://doc.rust-lang.org/book/?

I want to issue dasht <something> rust and it open the rust book as open https://doc.rust-lang.org/book/ in firefox, howto?

tmpm697 commented 4 years ago

seem to be: file:///home/user/.local/share/dasht/docsets/Rust.docset/Contents/Resources/Documents/doc.rust-lang.org/1.40.0/book/ch00-00-introduction.html#main

sunaku commented 4 years ago

Yes, that appears to be correct. :heavy_check_mark: You can also discover such URLs by running dasht-server and opening the local search engine in Firefox, where all search results will take you to the same kind of file:// URLs. See also Browser refuses to load file:// links in the dasht-server manual page.