-
Notifications
You must be signed in to change notification settings - Fork 80
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
Rewrite and expand manpage #130
Conversation
Some decent changes here, but is mdoc available on all systems without installing anything? |
Yes, mdoc is an old macro set made to markup manpages on the BSD's. Its been expanded over time, but vitually any modern troff supports it (including groff/man-db and mandoc). |
The manpage now uses mdoc(7), structuring info and making it easier to write. Some other things: - Expanded the section on format strings: - List all variables that can be included. - Add the emoji() function to the list. - Split the example over two lines for brevity. - Change the meson var PLAYERCTL_RELEASE_MONTH to PLAYERCTL_RELEASE_DATE. The date is formatted as 'Mon d, yyyy', which is required by mdoc.
cf5ea41
to
dd51e67
Compare
On the |
Probably a regression in 2.0, #68. |
👍 |
The manpage now uses mdoc(7), structuring info and making it easier to
write. Some other things:
emoji()
function to the list.PLAYERCTL_RELEASE_MONTH
toPLAYERCTL_RELEASE_DATE
. The date is formatted asMon d, yyyy
, whichis required by mdoc.