-
Notifications
You must be signed in to change notification settings - Fork 68
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
Adding man pages? #157
Comments
This one nvchecker.1.txt seems ok? |
Wow that looks good! How did you generate it? |
A custom version of rst2man: https://github.com/lilydjwg/nvchecker/blob/ccae7d8fcfd74f1c81bb3d0e0aa12e6892725738/docs/myrst2man.py I didn't figure out how to override the |
How about just adding the command to |
It works now. |
Cool! Looking forward to the next version :) |
[1] lilydjwg/nvchecker#157 git-svn-id: file:///srv/repos/svn-community/svn@718759 9fca08f4-af9d-4005-b8df-a31f2cc04f65
[1] lilydjwg/nvchecker#157 git-svn-id: file:///srv/repos/svn-community/svn@718759 9fca08f4-af9d-4005-b8df-a31f2cc04f65
https://nvchecker.readthedocs.io/en/latest/ is awesome, but some man pages (or maybe another pretty-formatted format not depending on heavy browser stuffs) will be even nicer.
As nvchecker already offers rst documents, rst2man from python-docutils might be an option. The result of
rst2man /usr/share/doc/nvchecker/usage.rst | man -l -
looks good-ish with a few warnings.pandoc might be another option, but it seems not straightforward.
pandoc -f rst -t man /usr/share/doc/nvchecker/usage.rst -o nvchecker.7
does not generate a readable man page.P.S. This issue is based on some discussions on the #archlinux-tu IRC channel.
The text was updated successfully, but these errors were encountered: