File tree Expand file tree Collapse file tree 1 file changed +1
-8
lines changed Expand file tree Collapse file tree 1 file changed +1
-8
lines changed Original file line number Diff line number Diff line change @@ -21,28 +21,21 @@ CUR_DIR=$PWD
21
21
echo " env CUR_DIR=$CUR_DIR "
22
22
23
23
echo " Starting install software"
24
- npm install gitbook-cli -g
25
24
sudo pip install mkdocs
26
25
git clone https://github.com/apache/servicecomb-docs.git
27
26
sudo pip install mkdocs-material
28
27
29
28
echo " Starting compile docs"
30
- cd $CUR_DIR /servicecomb-docs
31
- gitbook build saga-reference docs/saga
32
- gitbook build service-center-reference docs/service-center
33
-
34
29
cd $CUR_DIR /servicecomb-docs/java-chassis-reference/zh_CN
35
30
mkdocs build -d ../../docs/java-chassis/zh_CN
36
31
cd $CUR_DIR /servicecomb-docs/java-chassis-reference/en_US
37
32
mkdocs build -d ../../docs/java-chassis/en_US
38
33
cd $CUR_DIR
39
34
40
-
41
35
echo " Starting coping docs"
42
36
rm -r docs/java-chassis/zh_CN/*
43
37
rm -r docs/java-chassis/en_US/*
44
- rm -r docs/saga/*
45
- rm -r docs/service-center/*
38
+
46
39
cp -r servicecomb-docs/docs/ ./
47
40
48
41
# add some debug infos
You can’t perform that action at this time.
0 commit comments