summaryrefslogtreecommitdiffstats
path: root/documentation
diff options
context:
space:
mode:
authorJulien Stephan <jstephan@baylibre.com>2024-11-04 16:59:12 +0100
committerSteve Sakoman <steve@sakoman.com>2024-11-09 05:53:57 -0800
commit5c781e69d70032d9cef8bc95725dfa27405073ec (patch)
treed1e9b107af9e5ec2fb99ccca3d11270b59734e00 /documentation
parent8d694594e1aed44411d99ba9d7d5f306f4065171 (diff)
downloadpoky-5c781e69d70032d9cef8bc95725dfa27405073ec.tar.gz
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: e75064520f86c9fd674acff3dd16c88dcc489ba6) Signed-off-by: Julien Stephan <jstephan@baylibre.com> Reviewed-by: Antonin Godard <antonin.godard@bootlin.com> Tested-by: Antonin Godard <antonin.godard@bootlin.com> Signed-off-by: Antonin Godard <antonin.godard@bootlin.com> (cherry picked from commit 262237f72534c983e178231cb6839ed69709c443) Signed-off-by: Antonin Godard <antonin.godard@bootlin.com> Signed-off-by: Steve Sakoman <steve@sakoman.com>
Diffstat (limited to 'documentation')
-rw-r--r--documentation/README8
1 files changed, 8 insertions, 0 deletions
diff --git a/documentation/README b/documentation/README
index b60472fcbf..a7138c40e2 100644
--- a/documentation/README
+++ b/documentation/README
@@ -165,6 +165,14 @@ To run Vale:
165 165
166 $ make stylecheck 166 $ make stylecheck
167 167
168Style checking the whole documentation might take some time and generate a
169lot of warnings/errors, thus one can run Vale on a subset of files or
170directories:
171
172 $ make stylecheck VALEDOCS=<file>
173 $ make stylecheck VALEDOCS="<file1> <file2>"
174 $ make stylecheck VALEDOCS=<dir>
175
168Link checking the Yocto Project documentation 176Link checking the Yocto Project documentation
169============================================= 177=============================================
170 178