8000 make documentation generation run fail when there exist output files … · cloud-coders/arangodb@6d266fa · GitHub
[go: up one dir, main page]

Skip to content

Commit 6d266fa

Browse files
committed
make documentation generation run fail when there exist output files with unreplaced @startDocuBlock markers
1 parent 49b4cad commit 6d266fa

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

Documentation/Books/Makefile

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,3 +34,10 @@ build-book:
3434
cp Users/cookbookLogo.png books/Users/
3535
cp Users/googlegroupsIcon.png books/Users/
3636
python deprecated.py
37+
@if test "`grep -r \"@startDocuBlock\" --include \"*.html\" books/Users | wc -l`" -ne 0; then \
38+
echo ; \
39+
echo "@startDocuBlock markers still found in generated output files:"; \
40+
grep -rl "@startDocuBlock" --include "*.html" books/Users | sed -e "s/^/- /g"; \
41+
exit 1; \
42+
fi
43+

0 commit comments

Comments
 (0)
0