summaryrefslogtreecommitdiffstats
path: root/documentation
diff options
context:
space:
mode:
authorMichael Opdenacker <michael.opdenacker@bootlin.com>2024-03-12 21:58:39 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2024-03-19 15:22:27 +0000
commitf6584a38ae0f103876564448428ec88adff97c0c (patch)
treee304bb336ab427f5e0ea2490b1dd9fe5a49f305a /documentation
parent8a8040b37e08c5bfb017d269e10c5ae6c081299b (diff)
downloadpoky-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/Makefile4
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
56stylecheck:
57 vale sync
58 vale $(VALEOPTS) $(VALEDOCS)
59
56epub: $(PNGs) 60epub: $(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)