Add spelling options
[kohadocs.git] / en / Makefile
index bb03a6b..c900109 100644 (file)
@@ -43,6 +43,7 @@ help:
        @echo "  doctest    to run all doctests embedded in the documentation (if enabled)"
        @echo "  coverage   to run coverage check of the documentation (if enabled)"
        @echo "  dummy      to check syntax errors of document sources"
+       @echo "  spelling   to check spelling errors of document sources"
 
 .PHONY: clean
 clean:
@@ -223,3 +224,9 @@ dummy:
        $(SPHINXBUILD) -b dummy $(ALLSPHINXOPTS) $(BUILDDIR)/dummy
        @echo
        @echo "Build finished. Dummy builder generates no files."
+
+.PHONY: spelling
+spelling:
+       $(SPHINXBUILD) -b spelling $(ALLSPHINXOPTS) $(BUILDDIR)/spelling
+       @echo
+       @echo "Spell check complete; look for any errors in $(BUILDDIR)/spelling/output.txt."