File tree Expand file tree Collapse file tree 1 file changed +11
-4
lines changed Expand file tree Collapse file tree 1 file changed +11
-4
lines changed Original file line number Diff line number Diff line change 17
17
# # ---------------------------------------------------------------------------
18
18
# bin/sh
19
19
echo " start building servicecomb-docs."
20
+ echo " Python version:"
21
+ python --version
22
+
20
23
CUR_DIR=$PWD
21
24
echo " env CUR_DIR=$CUR_DIR "
22
25
23
26
echo " Starting install software"
24
- sudo pip install mkdocs==1.2.2
27
+ sudo pip install mkdocs==1.6.1
28
+ sudo pip install mkdocs-material==9.5.31
29
+
25
30
git clone https://github.com/apache/servicecomb-docs.git
26
- sudo pip install mkdocs-material==7.1.10
27
31
28
32
echo " Starting compile docs"
29
33
cd $CUR_DIR /servicecomb-docs/java-chassis-reference/zh_CN
30
34
mkdocs build -d ../../docs/java-chassis/zh_CN
31
35
cd $CUR_DIR /servicecomb-docs/java-chassis-reference/en_US
32
36
mkdocs build -d ../../docs/java-chassis/en_US
33
- cd $CUR_DIR
34
37
35
38
echo " Starting coping docs"
39
+ cd $CUR_DIR
36
40
rm -r docs/java-chassis/zh_CN/*
37
41
rm -r docs/java-chassis/en_US/*
38
-
39
42
cp -r servicecomb-docs/docs/ ./
40
43
41
44
# add some debug infos
45
+ echo " ls -l ./docs"
42
46
ls -l ./docs
47
+ echo " ls -l ./docs/java-chassis"
43
48
ls -l ./docs/java-chassis
49
+ echo " ls -l ./docs/java-chassis/1.x"
44
50
ls -l ./docs/java-chassis/1.x
51
+ echo " ls -l ./docs/java-chassis/2.x"
45
52
ls -l ./docs/java-chassis/2.x
46
53
47
54
echo " Starting preparing push docs"
You can’t perform that action at this time.
0 commit comments