Be strict and also require plain rst with no raw directives.
Signed-off-by: Jani Nikula <[email protected]>
---
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
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx