WIP: Use mdoc(7) and review documentation. #2
Loading…
Reference in New Issue
No description provided.
Delete Branch "documentation-review"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This pull request suggests a change to the
mdoc(7)
documentation language, instead of the jack-of-all-trades / master-of-nonemarkdown
.It also reviews a lot of the documentation and fixes some mistakes in the english.
Some of my objections to
markdown
as a documentation language can be found hereBut I do have a few specific reasons:
mdoc(7)
encodes more information thanmarkdown
and can be converted into it withmandoc(1)
, this is impossible to do withpandoc
.mandoc -T lint
andmakewhatis -t
can be used to make sure ourman(1)
pages are valid, I am not aware of any tools to do this in themarkdown
ecosystem.mdoc(7)
is the official language forman(1)
pages in Debian, OpenBSD and many other operating systems, this makes packaging and porting easier, aspandoc
is a pretty large dependency to inflict on port maintainers.mdoc(7)
can be indexed bymakewhatis(8)
and searched withapropos(1)
.The new documentation is certain to have errors and missing information, so please review in detail using Gitea's pretty good review feature. I'm mostly worried about the values I used for the various defaults.
You can preview the
man(1)
pages withmandoc bkctl.8
Replaced by: #3, #4, #5 and #6
Pull request closed