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 1717# # ---------------------------------------------------------------------------
1818# bin/sh
1919echo " start building servicecomb-docs."
20+ echo " Python version:"
21+ python --version
22+
2023CUR_DIR=$PWD
2124echo " env CUR_DIR=$CUR_DIR "
2225
2326echo " 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+
2530git clone https://github.com/apache/servicecomb-docs.git
26- sudo pip install mkdocs-material==7.1.10
2731
2832echo " Starting compile docs"
2933cd $CUR_DIR /servicecomb-docs/java-chassis-reference/zh_CN
3034mkdocs build -d ../../docs/java-chassis/zh_CN
3135cd $CUR_DIR /servicecomb-docs/java-chassis-reference/en_US
3236mkdocs build -d ../../docs/java-chassis/en_US
33- cd $CUR_DIR
3437
3538echo " Starting coping docs"
39+ cd $CUR_DIR
3640rm -r docs/java-chassis/zh_CN/*
3741rm -r docs/java-chassis/en_US/*
38-
3942cp -r servicecomb-docs/docs/ ./
4043
4144# add some debug infos
45+ echo " ls -l ./docs"
4246ls -l ./docs
47+ echo " ls -l ./docs/java-chassis"
4348ls -l ./docs/java-chassis
49+ echo " ls -l ./docs/java-chassis/1.x"
4450ls -l ./docs/java-chassis/1.x
51+ echo " ls -l ./docs/java-chassis/2.x"
4552ls -l ./docs/java-chassis/2.x
4653
4754echo " Starting preparing push docs"
You can’t perform that action at this time.
0 commit comments