Re: [PATCH] perf: doc: Correct title markers for asciidoctor

From: Arnaldo Carvalho de Melo
Date: Wed Mar 07 2018 - 08:26:38 EST


Em Wed, Mar 07, 2018 at 11:54:41AM +0100, Takashi Iwai escreveu:
> I've tested to process the perf man pages with asciidoctor that is
> picker than asciidoc, and it revealed minor syntax errors in some
> documents. Namely, the title markers aren't aligned with the previous
> line, hence asciidoctor didn't recognize as titles.
>
> This patch corrects these markers to be processed properly.

Thanks, applying.

- Arnaldo

> Signed-off-by: Takashi Iwai <tiwai@xxxxxxx>
> ---
> tools/perf/Documentation/perf-data.txt | 2 +-
> tools/perf/Documentation/perf-ftrace.txt | 2 +-
> tools/perf/Documentation/perf-kallsyms.txt | 2 +-
> tools/perf/Documentation/perf-sched.txt | 2 +-
> tools/perf/Documentation/perf-script-perl.txt | 2 +-
> 5 files changed, 5 insertions(+), 5 deletions(-)
>
> diff --git a/tools/perf/Documentation/perf-data.txt b/tools/perf/Documentation/perf-data.txt
> index 90bb4aabe4f8..c87180764829 100644
> --- a/tools/perf/Documentation/perf-data.txt
> +++ b/tools/perf/Documentation/perf-data.txt
> @@ -1,5 +1,5 @@
> perf-data(1)
> -==============
> +============
>
> NAME
> ----
> diff --git a/tools/perf/Documentation/perf-ftrace.txt b/tools/perf/Documentation/perf-ftrace.txt
> index 721a447f046e..b80c84307dc9 100644
> --- a/tools/perf/Documentation/perf-ftrace.txt
> +++ b/tools/perf/Documentation/perf-ftrace.txt
> @@ -1,5 +1,5 @@
> perf-ftrace(1)
> -=============
> +==============
>
> NAME
> ----
> diff --git a/tools/perf/Documentation/perf-kallsyms.txt b/tools/perf/Documentation/perf-kallsyms.txt
> index 954ea9e21236..cdd421cd1c57 100644
> --- a/tools/perf/Documentation/perf-kallsyms.txt
> +++ b/tools/perf/Documentation/perf-kallsyms.txt
> @@ -1,5 +1,5 @@
> perf-kallsyms(1)
> -==============
> +================
>
> NAME
> ----
> diff --git a/tools/perf/Documentation/perf-sched.txt b/tools/perf/Documentation/perf-sched.txt
> index c7e50f263887..bb33601a823b 100644
> --- a/tools/perf/Documentation/perf-sched.txt
> +++ b/tools/perf/Documentation/perf-sched.txt
> @@ -1,5 +1,5 @@
> perf-sched(1)
> -==============
> +=============
>
> NAME
> ----
> diff --git a/tools/perf/Documentation/perf-script-perl.txt b/tools/perf/Documentation/perf-script-perl.txt
> index 142606c0ec9c..5a1f68122f50 100644
> --- a/tools/perf/Documentation/perf-script-perl.txt
> +++ b/tools/perf/Documentation/perf-script-perl.txt
> @@ -1,5 +1,5 @@
> perf-script-perl(1)
> -==================
> +===================
>
> NAME
> ----
> --
> 2.16.2