Move docs from book/ to docs/ (#8469) (#8471)

automerge
This commit is contained in:
mergify[bot]
2020-02-26 08:01:44 -08:00
committed by GitHub
parent 2298dd5c07
commit 9ab6222f03
140 changed files with 56 additions and 58 deletions

16
docs/build.sh Executable file
View File

@@ -0,0 +1,16 @@
#!/usr/bin/env bash
set -e
cd "$(dirname "$0")"
# md check
find src -name '*.md' -a \! -name SUMMARY.md |
while read -r file; do
if ! grep -q '('"${file#src/}"')' src/SUMMARY.md; then
echo "Error: $file missing from SUMMARY.md"
exit 1
fi
done
make -j"$(nproc)" test