Sensei is a simple command line tool to open documentation for any crate in crates.io.
cargo install sensei
paru -S sensei-git
sensei <crate> [OPTIONS] [FLAGS]
-v, --version <version>
Opens documentation for a specific version.
-q, --query <query>
Specifies query to search documentation.
-h, --help
Prints help information.
-l, --local
Tries to open local documentation.
sensei --help | -h
sensei <crate> --local | -l
sensei <crate> --query | -q <query>
sensei <crate> --version | -v <version>
sensei <crate> -v <version> -q <query>
Thanks to Kedap for maintaing the AUR package.