Generate Rust API documentation
Use the Cargo tool on Red Hat Enterprise Linux to generate HTML API documentation from comments in your source code that are marked for extraction. Documentation comments are extracted only for public functions, variables, and members.
Prerequisites Copy linkLink copied!
- Rust Toolset is installed.
Build documentation for a Rust project Copy linkLink copied!
Use the Cargo tool to generate documentation from comments in your source code that are marked for extraction. Note that documentation comments are extracted only for public functions, variables, and members.