-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Huaqi Fang <[email protected]>
- Loading branch information
Showing
3 changed files
with
19 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
#!/bin/env bash | ||
|
||
if [ ! -f mkdocs.yml ] ; then | ||
echo "Not in mkdocs.yml located document folder!" | ||
exit 1 | ||
fi | ||
|
||
# update mkdocs.yml and README.md | ||
python3 update.py | ||
rm -rf docs site | ||
mkdir -p docs | ||
cp -rf *.md docs/ | ||
cp -rf asserts/ docs/ | ||
|
||
echo "Document for mkdocs is prepared!" | ||
echo "Run the following command to build and serve these doc!" | ||
echo "mkdocs serve -a 0.0.0.0:8009" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters