mirror of https://gitee.com/bigwinds/arangodb
fix documentation building
This commit is contained in:
parent
d776c18479
commit
4488558a5f
|
@ -317,8 +317,8 @@ function check-dangling-anchors()
|
||||||
fail=0
|
fail=0
|
||||||
rm -f /tmp/failduplicatetags.txt
|
rm -f /tmp/failduplicatetags.txt
|
||||||
find /tmp/tags -type f | while IFS= read -r htmlf; do
|
find /tmp/tags -type f | while IFS= read -r htmlf; do
|
||||||
sort "${htmlf}" |grep -v ^$ > /tmp/sorted.txt
|
(sort "${htmlf}" |grep -v ^$ > /tmp/sorted.txt) || true
|
||||||
sort -u "${htmlf}" |grep -v ^$ > /tmp/sortedunique.txt
|
(sort -u "${htmlf}" |grep -v ^$ > /tmp/sortedunique.txt) || true
|
||||||
if test "$(comm -3 /tmp/sorted.txt /tmp/sortedunique.txt|wc -l)" -ne 0; then
|
if test "$(comm -3 /tmp/sorted.txt /tmp/sortedunique.txt|wc -l)" -ne 0; then
|
||||||
echo "${ERR_COLOR}"
|
echo "${ERR_COLOR}"
|
||||||
echo "in ${htmlf}: "
|
echo "in ${htmlf}: "
|
||||||
|
@ -713,9 +713,9 @@ function build-books()
|
||||||
done
|
done
|
||||||
|
|
||||||
check-docublocks ""
|
check-docublocks ""
|
||||||
check-dangling-anchors ""
|
|
||||||
echo "${STD_COLOR}##### Generating redirect index.html${RESET}"; \
|
echo "${STD_COLOR}##### Generating redirect index.html${RESET}"; \
|
||||||
echo '<html><head><meta http-equiv="refresh" content="0; url=Manual/"></head><body></body></html>' > books/index.html
|
echo '<html><head><meta http-equiv="refresh" content="0; url=Manual/"></head><body></body></html>' > books/index.html
|
||||||
|
check-dangling-anchors ""
|
||||||
}
|
}
|
||||||
|
|
||||||
function build-dist-books()
|
function build-dist-books()
|
||||||
|
|
Loading…
Reference in New Issue