diff options
author | Julien Stephan <jstephan@baylibre.com> | 2024-11-04 16:59:12 +0100 |
---|---|---|
committer | Steve Sakoman <steve@sakoman.com> | 2024-11-11 09:16:26 -0800 |
commit | 50d1790d0be5212738006388cb6231f146a63f12 (patch) | |
tree | 915bc4a1e1e72df932e33a45dadb44785b4a9bab /documentation | |
parent | f09fc4426ba146f3b65f7a5daf235ca1c15a759a (diff) | |
download | poky-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/README | 8 |
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 | ||
145 | Style checking the whole documentation might take some time and generate a | ||
146 | lot of warnings/errors, thus one can run Vale on a subset of files or | ||
147 | directories: | ||
148 | |||
149 | $ make stylecheck VALEDOCS=<file> | ||
150 | $ make stylecheck VALEDOCS="<file1> <file2>" | ||
151 | $ make stylecheck VALEDOCS=<dir> | ||
152 | |||
145 | Link checking the Yocto Project documentation | 153 | Link checking the Yocto Project documentation |
146 | ============================================= | 154 | ============================================= |
147 | 155 | ||