Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor CLI documentation #2290

Open
ruben-arts opened this issue Oct 16, 2024 · 0 comments
Open

Refactor CLI documentation #2290

ruben-arts opened this issue Oct 16, 2024 · 0 comments
Labels
📖 documentation Improvements or additions to documentation

Comments

@ruben-arts
Copy link
Contributor

To improve our CLI documentation there are a few points we would like to get to.

Auto generate as much as possible to avoid duplicate information

Auto generate the documentation from the CLI/Rust code so the information is alligned and auto updated.
For example nushell has tools for that aswell.

Test the documentation

Use snippets to get the code example from a file that will be tested in CI. To make sure the documented commands keep working while the code moves.

Split the reference into a page per subcommand

Take an example from npm or deno
Where the single page per command allows for more information without creating an unreadable file.

@ruben-arts ruben-arts added the 📖 documentation Improvements or additions to documentation label Oct 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
📖 documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

1 participant