-
Notifications
You must be signed in to change notification settings - Fork 83
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
Generate manpages and include them in prebuilt releases #88
Comments
I can help write manpages in Markdown format if appropriate summaries of things are done? Which md2man utility do we want to use? |
Also which 'template' format for MD to make happy MAN pages, there are tons of them, I suspect you want a rust specific one? |
Here are a few of the ones I found, the PANDOC one seems compelling: There is also 'ronn' And a native RUST library: https://github.com/elebihan/manpages (which seems to require pandoc) And THIS: https://gitlab.com/kornelski/mandown And finally, this: (seems most comprehensive) |
Oh, I don't have anything particular in mind. Probably the most expedient thing to do would simply use that |
Note, the existing command-line documentation is pulled automatically from Rust doc comments in https://github.com/praetorian-inc/noseyparker/blob/main/crates/noseyparker-cli/src/args.rs, via the |
The prebuilt releases could include man pages generated from the CLI documentation.
See clap_mangen. This would possibly need to be called from the build.rs script. Then, in the
scripts/create_release.zsh
script, we would want to copy those generated man pages into somewhere likerelease/share/man/1/
.The text was updated successfully, but these errors were encountered: