Re: [PATCH] perf: Documentation: Support for asciidoctor

From: Arnaldo Carvalho de Melo
Date: Tue Apr 24 2018 - 15:34:44 EST


Em Tue, Apr 24, 2018 at 05:04:56PM +0200, Takashi Iwai escreveu:
> asciidoc seems behind the recent big wave of python3 conversion, and
> we were advised to switch to asciidoctor instead. It's almost
> compatible but some extensions used for perf documentation don't work
> with it. Here is the patch to cover them, and add the proper support
> for asciidoctor.
>
> Pass USE_ASCIIDOCTOR=yes to make for using asciidoctor instead of
> asciidoc. The man source and manual attributes are passed via command
> options. The support for these attributes have been fixed in the
> latest asciidoctor code.
>
> Since asciidoctor can covert to a man page and an HTML directly, we
> can omit the dependency on xmlto when USE_ASCIIDOCTOR is set.

Applied to perf/core,

- Arnaldo