-- Leo's gemini proxy

-- Connecting to ainent.xyz:1965...

-- Connected

-- Sending request

-- Meta line: 20 text/gemini; charset=utf-8; lang=en

On Writing Documentation


Call me strange, but I enjoy writing technical documentation.


I'm in the process of adding manpage support to smolver, my Gemini server, and I've found the easiest way to do so is to simply refactor the main project README markdown file in such a way that when handed off to pandoc, the format looks like a typical manpage, no changes needed. This approach will save me from having to maintain separate documentation moving forward, and lets me kill two birds with one stone (both of which are on the project backlog): provide a manpage and cleanup the documentation (it was getting a bit unwieldy to read).


smolver


I am certainly glad I found an easy way to generate the manpage, because as it turns out, the markup syntax for the requisite file type, groff, is ugly. Learning it would probably be easy enough, but I don't have the desire right now to memorize it, so I'd have to be constantly looking things up.


Does anyone have groff syntax memorized?

-- Response ended

-- Page fetched on Tue May 21 13:03:03 2024