mirror of https://gitee.com/bigwinds/arangodb
.md links should be replaced by .html during the processing, if not, they're dangling links.
This commit is contained in:
parent
771c291042
commit
2ba7863592
|
@ -30,6 +30,11 @@ book-check-markdown-leftovers:
|
|||
find books/$(NAME) -name '*.html' -exec grep '##' {} \; -print; \
|
||||
exit 1; \
|
||||
fi
|
||||
@if test "`find books/$(NAME) -name '*.html' -exec grep '\.md\"' {} \; -print | wc -l`" -gt 0; then \
|
||||
echo "found dangling markdown links: "; \
|
||||
find books/$(NAME) -name '*.html' -exec grep '\.md"' {} \; -print; \
|
||||
exit 1; \
|
||||
fi
|
||||
|
||||
build-book-symlinks:
|
||||
echo "generate backwards compatibility symlinks:"
|
||||
|
|
Loading…
Reference in New Issue