-
Notifications
You must be signed in to change notification settings - Fork 27
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
Generate Manpage from Docu #200
Conversation
Just a heads up, here's yet another option we have: we're using |
Alright, thanks, that helped. |
9a41366
to
682dc77
Compare
So, docs workflow is sadly not working yet, I call it another day. For the man pages generation with I changed in the |
80d5b3c
to
0c1a5e0
Compare
- Adjust workflow for man page generation - New script and workflow to generate documentation - Changes docs workflow order - Adds build tag "docs" to docs subcommand - Runs docs only on knoxite/knoxite repo
0c1a5e0
to
0eaf565
Compare
To prevent the generation to always auto-commit files, if only the date would change, I extended the Header-attribute of man pages:
If the date needs to be changed, it has to be done manually here. The Source is set to |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
Generated manpage with pandoc from README.md
Command used:
pandoc --standalone --to man README.md -o knoxite.1
Open questions:
/usr/local/share/man/man1
as far as I know. So this needs to be done in an installed script for knoxite, right?<
or[
)scripts
anddocs
pathnames are fineCloses #143