Re: [maintainer-tools PATCH 1/5] mancheck: run dim.rst through rst2man

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Reviewed-by: Rodrigo Vivi <rodrigo.vivi@xxxxxxxxx>

On Wed, Aug 9, 2017 at 2:08 PM, Jani Nikula <jani.nikula@xxxxxxxxx> wrote:
> Be strict and also require plain rst with no raw directives.
>
> Signed-off-by: Jani Nikula <jani.nikula@xxxxxxxxx>
> ---
>  Makefile | 1 +
>  dim.rst  | 2 ++
>  2 files changed, 3 insertions(+)
>
> diff --git a/Makefile b/Makefile
> index 44fcdc90473a..784d986b18cd 100644
> --- a/Makefile
> +++ b/Makefile
> @@ -43,6 +43,7 @@ mancheck:
>                         echo "$@: $$cmd not documented"; \
>                 fi \
>         done
> +       rst2man --strict --no-raw dim.rst >/dev/null
>
>  check: shellcheck mancheck all
>
> diff --git a/dim.rst b/dim.rst
> index a2c110a054ee..8b4653aacbda 100644
> --- a/dim.rst
> +++ b/dim.rst
> @@ -13,6 +13,8 @@ drm inglorious maintainer script
>  :Manual section: 1
>  :Manual group: maintainer tools
>
> +.. Please use 'make mancheck' to validate updates to this file.
> +
>  SYNOPSIS
>  ========
>
> --
> 2.11.0
>
> _______________________________________________
> Intel-gfx mailing list
> Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
> https://lists.freedesktop.org/mailman/listinfo/intel-gfx



-- 
Rodrigo Vivi
Blog: http://blog.vivi.eng.br
_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/intel-gfx




[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux