mirror of
https://git.yoctoproject.org/poky
synced 2026-09-19 00:49:33 +02:00
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>
This commit is contained in:
committed by
Steve Sakoman
parent
04ddd51fcc
commit
0aeee51c3c
@@ -165,6 +165,14 @@ To run Vale:
|
|||||||
|
|
||||||
$ make stylecheck
|
$ 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=<file>
|
||||||
|
$ make stylecheck VALEDOCS="<file1> <file2>"
|
||||||
|
$ make stylecheck VALEDOCS=<dir>
|
||||||
|
|
||||||
Link checking the Yocto Project documentation
|
Link checking the Yocto Project documentation
|
||||||
=============================================
|
=============================================
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user