Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The DocBook code for generating manpages contained a few bugs. Probably for historical reasons, DocBook requires manpages (refentry documents) to use
refsection
instead ofsection
(andrefsect1
instead ofsect1
, etc.). Also, the block element holding the synopsis section should berefsynopsisdiv
.Finally, man pages require some additional metadata in the
refmeta
andrefnamediv
elements immediately after the main document'sinfo
block. Without these, the DocBook stylesheets won't be able to determine the manpage name and section, and will try to output to a file called.1
.This is the minimal amount of changes required on the Asciidoctor side to build Git using Asciidoctor instead of AsciiDoc. I will be sending a patch series to the Git list to fix up the Git side of things.