I'm not quite sure why we still haven't switched to using markdown for man pages.
Insisting on GNU Troff is just messy and futile at this point. It's almost as if they don't want people to easily generate documentation for their projects 🤔
I'm not quite sure why we still haven't switched to using markdown for man pages.
Insisting on GNU Troff is just messy and futile at this point. It's almost as if they don't want people to easily generate documentation for their projects 🤔
@fribbledom most devs I know never use man pages. Think mainly since all decent CLI tools have a help command/flag.
@fribbledom There are certainly converters out there. And I suppose one could submit a patch to "man" to allow it to render and index markdown files.
I think the GNU project essentially tried to replace "man" with "info", albeit with limited success. "man" itself is rather klunky in other ways (mainly its lack of hyperlinks). I think it remains ubiquitous only because distros (specifically Debian) require it.
@fribbledom you can use this tool to generate troff from markdown https://github.com/kapouer/marked-man
@fribbledom Like still using TeX for info pages.
Although... does anyone actually use info?
@fribbledom Looking at this in APT, the existing markdown 2 roff I was not happy with and the translation story neither - no po4a support for markdown.
@fribbledom GNU don't want anyone to be able to easily do anything, that's my they invented Autotools and Emacs.
Styling options aren't what this is about: they exist in roff just as well.
This is about generating and writing man pages in a format that people actually like to use. Which is something nobody has ever said about roff, not even its creators.
There's a reason why all these man pages are horrible to read and parse, not regularly updated, or worse, simply missing.
@fribbledom What would switching to markdown do? Is bold and italics really needed to explain a command?
Bobinas P4G is a social network. It runs on GNU social, version 2.0.1-beta0, available under the GNU Affero General Public License.
All Bobinas P4G content and data are available under the Creative Commons Attribution 3.0 license.