mirror of https://github.com/zulip/zulip.git
tools: Add wrapper tool 'build-docs' for building documentation.
This commit is contained in:
parent
458fcfa646
commit
3bc369f1cf
|
@ -38,8 +38,7 @@ Zulip development environment provisioning, and you can build the
|
|||
documentation using:
|
||||
|
||||
```
|
||||
cd docs/
|
||||
make html
|
||||
./tools/build-docs
|
||||
```
|
||||
|
||||
and then opening `http://127.0.0.1:9991/docs/index.html` in your
|
||||
|
|
|
@ -0,0 +1,5 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
cd "$(dirname "$0")"/../docs
|
||||
rm -rf _build
|
||||
make html
|
|
@ -13,9 +13,9 @@ case $1 in
|
|||
;;
|
||||
esac
|
||||
|
||||
cd "$(dirname "$0")"/../docs
|
||||
make html
|
||||
cd ../tools/documentation_crawler
|
||||
cd "$(dirname "$0")"/..
|
||||
./tools/build-docs
|
||||
cd ./tools/documentation_crawler
|
||||
|
||||
echo -en "\033[0;94m"
|
||||
echo "Testing links in documentation..."
|
||||
|
|
Loading…
Reference in New Issue