-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Use asciidoctor to generate man pages from asciidoc sources #3069
Conversation
|
[Hans Unzner]
2. Man pages which include other man pages makes some problems
e.g. I get
`
make: *** No rule to make target '../docs/man/millturn.1', needed by '../docs/html/man/man1/millturngui.1.html'. Stop.
`
The millturn.1 man page is generated from milltun.1.adoc, but
millturngui.1 just consists of ".so millturn.1" - there is no
millturngui.1.adoc. I wonder how does it know to include that man
page?
How do you trigger this problem? I have not seen it. the .SO pages are
generated when there are several names listed in a .adoc manpage, the
first one get the content, the rest get a .SO redirect.
…--
Happy hacking
Petter Reinholdtsen
|
Just build the docs from this branch (with first asciidoctor installed)
So the last line here generates an include for
|
This sounds familiar, in that millturn and friends were the subject of a recent commit, is this related? |
Yes and the problem is more that we have now one man page for millturn and one for millturngui where we had only one for both before. But that one I got resolved with Petters hint, now I am at the man3 pages... |
d52975b
to
305997b
Compare
This man page for example
creates files like
If I omit the including like I started in d52975b but there should be way to fix it without that. As I have no idea, I will close that. Seems we have to live with the slightly ugly man pages now. If someone has an idea to fix that, feel free to open this again. |
asciidoctor does a much better job in converting the man pages from the asciidoc format than a2x.
But asciidoctor needs to be installed on the CI.
Resolves #3057