Closed majecty closed 4 years ago
@foriequal0 Can I try this issue?
Okay. I've assigned to you.
I checked the ripgrep repository. They are generating man pages in the "cargo build" command. I'll follow their method.
The ripgrep team is using asciidoc to generate the man page. I'm checking the asciidoc.
I found that we can use markdown to generate man pages: link. Since markdown is much easier syntax, I'll try it.
Man page is a standard way to find a tool's usage. Git shows a man page if user execute
git <subcommand> --help
.Unfortunately, we can't install the man page when a user uses
cargo install git-trim
command. If we provide a deb or rpm package file, however, we can distribute the man page with a binary.