diff options
| author | Julien Stephan <jstephan@baylibre.com> | 2024-11-04 16:59:12 +0100 |
|---|---|---|
| committer | Steve Sakoman <steve@sakoman.com> | 2024-11-11 06:19:19 -0800 |
| commit | 0aeee51c3c149f336e40d49faa442be1e413d038 (patch) | |
| tree | 5fc026264a3ee69dec779b0638fd2ece9769f020 /documentation | |
| parent | 04ddd51fcc2e258deaf6254e1652ae1054d7f1ce (diff) | |
| download | poky-0aeee51c3c149f336e40d49faa442be1e413d038.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: 038cc992af79718787a70dd620eb195c84a847dd)
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 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 | ||
| 168 | Style checking the whole documentation might take some time and generate a | ||
| 169 | lot of warnings/errors, thus one can run Vale on a subset of files or | ||
| 170 | directories: | ||
| 171 | |||
| 172 | $ make stylecheck VALEDOCS=<file> | ||
| 173 | $ make stylecheck VALEDOCS="<file1> <file2>" | ||
| 174 | $ make stylecheck VALEDOCS=<dir> | ||
| 175 | |||
| 168 | Link checking the Yocto Project documentation | 176 | Link checking the Yocto Project documentation |
| 169 | ============================================= | 177 | ============================================= |
| 170 | 178 | ||
