rustdoc

File Read

Partial content is displayed as error messages.

rustdoc /path/to/input-file

File Write

This command creates a number of documentation files in the target directory, and the data is written in multiple locations, e.g., `src/temp_file/temp-file.html`, amidst other content.

echo '//! DATA' >/path/to/temp-file
rustdoc /path/to/temp-file -o /path/to/output-dir/