mirror of
https://github.com/kamranahmedse/developer-roadmap.git
synced 2025-08-28 19:49:50 +02:00
link to article 'How to write documentation' in 'Rust' (#6058)
This commit is contained in:
@@ -1,3 +1,7 @@
|
||||
# Documenting with `rustdoc`
|
||||
|
||||
`rustdoc` is a tool that comes bundled with Rust by default. It is primarily used to generate documentation for Rust projects. `rustdoc` takes into consideration both the comments and the source code to produce comprehensive documentation. The resultant documentation can be viewed through a web server or a web browser. The uniqueness of `rustdoc` lies in its testing feature. It can test the code snippets present in your documentation, ensuring that your examples are accurate and up-to-date. It is the de facto tool for all Rust developers to create and maintain their project documentation.
|
||||
`rustdoc` is a tool that comes bundled with Rust by default. It is primarily used to generate documentation for Rust projects. `rustdoc` takes into consideration both the comments and the source code to produce comprehensive documentation. The resultant documentation can be viewed through a web server or a web browser. The uniqueness of `rustdoc` lies in its testing feature. It can test the code snippets present in your documentation, ensuring that your examples are accurate and up-to-date. It is the de facto tool for all Rust developers to create and maintain their project documentation.
|
||||
|
||||
Visit the following resources to learn more:
|
||||
|
||||
- [@article@How to write documentation](https://doc.rust-lang.org/rustdoc/how-to-write-documentation.html)
|
||||
|
Reference in New Issue
Block a user