forked from pfsense/docs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
30 lines (24 loc) · 854 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Makefile for Sphinx documentation
#
.PHONY: help html linkcheck
help:
@echo "Please use \`make <target>' where <target> is one of"
@echo " grammar to check grammar"
@echo " html to make standalone HTML files"
@echo " linkcheck to verify external links"
grammar:
write-good `find ./source -name '*.rst'` --passive --so --no-illusion --cliches > build/grammar.txt
@echo
@echo "Grammar check finished. The report is in build/grammar.txt."
html:
sphinx-build source build
@echo
@echo "Build finished. The HTML pages are in build."
test:
sphinx-build -b spelling -D extensions=sphinx_sitemap,sphinx_tabs.tabs,sphinxcontrib.spelling source build
@echo
@echo "Build finished. The HTML pages are in build."
linkcheck:
sphinx-build -b linkcheck source build
@echo
@echo "linkcheck finished. The report is in build/output.txt."