diff options
author | Michael Opdenacker <michael.opdenacker@bootlin.com> | 2024-03-12 21:58:39 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-03-19 15:22:27 +0000 |
commit | f6584a38ae0f103876564448428ec88adff97c0c (patch) | |
tree | e304bb336ab427f5e0ea2490b1dd9fe5a49f305a /documentation | |
parent | 8a8040b37e08c5bfb017d269e10c5ae6c081299b (diff) | |
download | poky-f6584a38ae0f103876564448428ec88adff97c0c.tar.gz |
manuals: add initial stylechecks with Vale
Use the "Vale" (https://vale.sh) tool to perform text style checks
Run "make stylecheck" to run the checks.
This just checks the text, not the Sphinx syntax style choices.
(From yocto-docs rev: 51b1f9a4d5aa02d337b105633de38e18b923a13a)
Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Suggested-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation')
-rw-r--r-- | documentation/Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/documentation/Makefile b/documentation/Makefile index f3b775b3ec..c930d2d280 100644 --- a/documentation/Makefile +++ b/documentation/Makefile | |||
@@ -53,6 +53,10 @@ stylecheck: | |||
53 | vale sync | 53 | vale sync |
54 | vale $(VALEOPTS) $(VALEDOCS) | 54 | vale $(VALEOPTS) $(VALEDOCS) |
55 | 55 | ||
56 | stylecheck: | ||
57 | vale sync | ||
58 | vale $(VALEOPTS) $(VALEDOCS) | ||
59 | |||
56 | epub: $(PNGs) | 60 | epub: $(PNGs) |
57 | $(SOURCEDIR)/set_versions.py | 61 | $(SOURCEDIR)/set_versions.py |
58 | @$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O) | 62 | @$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O) |