Skip to content

Commit 7f9f366

Browse files
committed
add debug info
1 parent 3ef77dc commit 7f9f366

File tree

1 file changed

+11
-4
lines changed

1 file changed

+11
-4
lines changed

scripts/build.sh

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,31 +17,38 @@
1717
## ---------------------------------------------------------------------------
1818
#bin/sh
1919
echo "start building servicecomb-docs."
20+
echo "Python version:"
21+
python --version
22+
2023
CUR_DIR=$PWD
2124
echo "env CUR_DIR=$CUR_DIR"
2225

2326
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+
2530
git clone https://github.com/apache/servicecomb-docs.git
26-
sudo pip install mkdocs-material==7.1.10
2731

2832
echo "Starting compile docs"
2933
cd $CUR_DIR/servicecomb-docs/java-chassis-reference/zh_CN
3034
mkdocs build -d ../../docs/java-chassis/zh_CN
3135
cd $CUR_DIR/servicecomb-docs/java-chassis-reference/en_US
3236
mkdocs build -d ../../docs/java-chassis/en_US
33-
cd $CUR_DIR
3437

3538
echo "Starting coping docs"
39+
cd $CUR_DIR
3640
rm -r docs/java-chassis/zh_CN/*
3741
rm -r docs/java-chassis/en_US/*
38-
3942
cp -r servicecomb-docs/docs/ ./
4043

4144
# add some debug infos
45+
echo "ls -l ./docs"
4246
ls -l ./docs
47+
echo "ls -l ./docs/java-chassis"
4348
ls -l ./docs/java-chassis
49+
echo "ls -l ./docs/java-chassis/1.x"
4450
ls -l ./docs/java-chassis/1.x
51+
echo "ls -l ./docs/java-chassis/2.x"
4552
ls -l ./docs/java-chassis/2.x
4653

4754
echo "Starting preparing push docs"

0 commit comments

Comments
 (0)