Re: [PATCH 1/2] doc: add an option to have Asciidoctor build man pages directly
On Wed, May 12, 2021 at 2:30 AM Jeff King <peff@peff.net> wrote:
Show 8 quoted lines
> The new option enables both asciidoctor as well as its direct-to-manpage
> mode that skips xmlto. This lets you view the rendered difference
> between the two pipelines with something like:
>
> ./doc-diff --from-asciidoctor --to-asciidoctor-direct HEAD HEAD
>
> Note that we have to add quotes when passing around $makemanflags, as it
> now may contain whitespace due to multiple arguments (but the deference
I suppose you meant s/deference/dereference/ ?
> inside render_tree must remain unquoted, because it wants to perform
> whitespace splitting to get the individual arguments back).
>
> Signed-off-by: Jeff King <peff@peff.net>