oxidoc
is a command-line interface to Rust documentation.
It is alpha-quality software, so some documentation may not be indexed or other strange things may happen.
Before building the crate, make sure that you have install all needed dependencies in the system:
To intall them in Debian GNU/Linux or Ubnutu, do the following:
apt-get install cmake libncursesw6-dev
Build the crate:
cargo build --release
In order to generate documentation for the standard library, the RUST_SRC_PATH
environment variable has to be set with the path of the Rust source code.
Generate documentation for all crates in ~/.cargo/registry/src
and the standard library:
oxidoc -g all
Generate documentation for the specified crate source directory:
oxidoc -g ~/build/oxidoc/
The generated documentation currently lives in ~/.cargo/registry/doc
.
Provide either an identifier or a partially/fully qualified module path as a search query:
oxidoc rand
oxidoc vec::Vec
oxidoc serde::de::DeserializeOwned