This is an automated email from the ASF dual-hosted git repository. zhangyonglun pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/shardingsphere-elasticjob.git
commit 6ebe356365f9b332305eb4b961dfcc37422d74d2 Author: tuohai666 <[email protected]> AuthorDate: Wed Jul 15 14:54:49 2020 +0800 add docs/build.sh --- docs/build.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/docs/build.sh b/docs/build.sh new file mode 100644 index 0000000..e1eb3ef --- /dev/null +++ b/docs/build.sh @@ -0,0 +1,11 @@ +#!/bin/bash +cd `dirname $0` + +rm -rf public + +hugo +find ./ -name '*.html' -exec sed -i -e 's|[[:space:]]*<option id="\([a-zA-Z]\+\)" value="|<option id="\1" value="/elasticjob/current|g' {} \; +cd public/en +sed -i -e 's/cn/en/g' index.html + +cd ..
