Back to all reviewers

Clear command documentation

tokio-rs/tokio
Based on 3 comments
Markdown

When documenting shell commands in technical documentation, use the `shell` language identifier instead of `bash` as commands are typically relevant to any shell. Separate commands and their output into different code blocks to make it clearer what users should actually input. This improves readability and prevents users from accidentally copying output...

Documentation Markdown

Reviewer Prompt

When documenting shell commands in technical documentation, use the shell language identifier instead of bash as commands are typically relevant to any shell. Separate commands and their output into different code blocks to make it clearer what users should actually input. This improves readability and prevents users from accidentally copying output text as if it were commands.

For example, instead of:

$ cd tokio
$ cargo fuzz list
fuzz_linked_list

Use:

cd tokio
cargo fuzz list
fuzz_linked_list

When documenting tool installation commands, include the --locked flag to protect users from dependency issues:

cargo install --locked cargo-docs-rs

This ensures developers can reproduce the exact same environment for development tools.

3
Comments Analyzed
Markdown
Primary Language
Documentation
Category

Source Discussions