From 7d88e832b5ee4f25d1c50c1e24781ef83670f05d Mon Sep 17 00:00:00 2001 From: Julien Stephan Date: Mon, 4 Nov 2024 16:59:12 +0100 Subject: README: add instruction to run Vale on a subset make stylecheck runs Vale on the whole documentation which can be long and reports a lot of errors/warnings. We can run Vale on a subset using the VALEDOCS variable, so update documentation to highlight it. (From yocto-docs rev: 262237f72534c983e178231cb6839ed69709c443) Signed-off-by: Julien Stephan Reviewed-by: Antonin Godard Tested-by: Antonin Godard Signed-off-by: Antonin Godard Signed-off-by: Richard Purdie --- documentation/README | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/documentation/README b/documentation/README index c888b666a8..8ac8d52367 100644 --- a/documentation/README +++ b/documentation/README @@ -142,6 +142,14 @@ To run Vale: $ make stylecheck +Style checking the whole documentation might take some time and generate a +lot of warnings/errors, thus one can run Vale on a subset of files or +directories: + + $ make stylecheck VALEDOCS= + $ make stylecheck VALEDOCS=" " + $ make stylecheck VALEDOCS= + Link checking the Yocto Project documentation ============================================= -- cgit v1.2.3-54-g00ecf