blmayer / ereandel

A Gemini web browser using shell script
gemini://terminal.pink/
MIT License
56 stars 6 forks source link

man page #48

Closed rnwgnr closed 1 year ago

rnwgnr commented 1 year ago

follow up to https://github.com/blmayer/astro/pull/47#issuecomment-1690564373 : I thought about man pages as well.

I'd go with scdoc for the raw format, example for a file can be found at: https://git.clttr.info/photo-stats/file/phosta.1.scd.html

blmayer commented 1 year ago

Interesting, but one thing I don't like about it is that we need a source file. In other projects I used help2man, it generates man pages using the --help from the command. So I only needed the improve a little the generated man page.

What do you think?

rnwgnr commented 1 year ago

Haven't used that till now, but the approach seems legit.

blmayer commented 1 year ago

Done in 631ce7063b1d748173d467115dc820fd19242728