-
Notifications
You must be signed in to change notification settings - Fork 713
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
Manpage cleanups #1372
Manpage cleanups #1372
Conversation
* egk-tool.1.xml * npa-tool.1.xml * opensc-asn1.1.xml * opensc-notify.1.xml
* get rid of hard-coded markup like e.g. { ... | ... } or [ ... ] in favour of DocBook's proper tags * use tags better matching the purpose, e.g. use <filename class"directory"> instead of <command> for directories * improve consistency in <replaceable>s
They have been moved to doc/tools and are generated there.
Call the tools to be tested with option '--help' to avoid triggering automatic actions when no option is given. Exampleswhy the old behaviour is bad: - opensc-notify: blocks the build - opensc-explorer: tries to open the card
Also try to consolidate the coding style a bit
looks good, thanks. I think the reference to |
Now that we have proper DocBook sources for all man pages formerly generated using help2man, it is not needed anymore.
Now that we have proper DocBook sources for all man pages formerly generated using help2man, it is not needed anymore.
Now that we have proper DocBook sources for them, they can be safely removed.
I am at a loss. |
I forgot that help2man is still a dependency when building OpenPACE (as done in |
Phew! It works. |
Do you have a link that discusses the correct usage of xslt for man pages or is there some other documentation available? |
I am not sure I understand your question correctly. Please bear with me if my answer missed the point. In my understanding there is a "practical agreement" (by majority of documentation ;-) of using DocBook as the standard format for documentation in OpenSC. I can only speculate on the reasons (well known standard, versatility, ...) DocBook as a documentation standard is documented on http:https://tdg.docbook.org/, with manual pages explicitly mentioned in https://tdg.docbook.org/tdg/5.2/ch02.html#making-refentry (similar entries in previous versions), mentioning The tag reference then mentions explicitly what a tag is for, what attributes it can take, with what values (e.g. Does this answer the question? |
Yes, that was my question. I am a bit overwhelmed by the pure size of the DocBook standard, so that I have difficulties to figure out what tags/attributes are relevant when writing a manpage... |
Yeah, its a trove of information, isn't it. Is there a reason not to pull this request into main?
|
thanks |
This pull request
(I stick to my promises ;-)
Checklist