mirror of
https://github.com/zulip/zulip.git
synced 2025-10-23 04:52:12 +00:00
tools: Add wrapper tool 'build-docs' for building documentation.
This commit is contained in:
@@ -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
|
||||
|
5
tools/build-docs
Executable file
5
tools/build-docs
Executable file
@@ -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..."
|
||||
|
Reference in New Issue
Block a user