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-11 09:16:26 -0800
commit50d1790d0be5212738006388cb6231f146a63f12 (patch)
tree915bc4a1e1e72df932e33a45dadb44785b4a9bab /documentation
parentf09fc4426ba146f3b65f7a5daf235ca1c15a759a (diff)
downloadpoky-50d1790d0be5212738006388cb6231f146a63f12.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: ba8642cd423b59ecff5e74a0ed0469deef9f5d18) 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 c888b666a8..8ac8d52367 100644
--- a/documentation/README
+++ b/documentation/README
@@ -142,6 +142,14 @@ To run Vale:
142 142
143 $ make stylecheck 143 $ make stylecheck
144 144
145Style checking the whole documentation might take some time and generate a
146lot of warnings/errors, thus one can run Vale on a subset of files or
147directories:
148
149 $ make stylecheck VALEDOCS=<file>
150 $ make stylecheck VALEDOCS="<file1> <file2>"
151 $ make stylecheck VALEDOCS=<dir>
152
145Link checking the Yocto Project documentation 153Link checking the Yocto Project documentation
146============================================= 154=============================================
147 155