-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathhtml.sh
executable file
·67 lines (45 loc) · 1.34 KB
/
html.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
mkdir build
cd ./zh-cn/workflow
gitbook build
mv _book ../../build/workflow-zh-cn
cd ../../
cd ./en-us/workflow
gitbook build
mv _book ../../build/workflow-en-us
cd ../../
cd ./zh-cn/drive
gitbook build
mv _book ../../build/drive-zh-cn
cd ../../
cd ./zh-cn/calendar
gitbook build
mv _book ../../build/calendar-zh-cn
cd ../../
cd ./zh-cn/creator
gitbook build
mv _book ../../build/creator-zh-cn
cd ../../
cd ./build/workflow-zh-cn
sed -i.bak "s/Published with GitBook/华炎云帮助中心/g" *.html
sed -i.bak "s/www.gitbook.com/www.steedos.com\/cn\/help/g" *.html
rm -r index.html.bak
cd ../../
cd ./build/workflow-en-us
sed -i.bak "s/Published with GitBook/Steedos Help Center/g" *.html
sed -i.bak "s/www.gitbook.com/www.steedos.com\/us\/help/g" *.html
rm -r index.html.bak
cd ../../
cd ./build/drive-zh-cn
sed -i.bak "s/Published with GitBook/华炎云帮助中心/g" *.html
sed -i.bak "s/www.gitbook.com/www.steedos.com\/cn\/help/g" *.html
rm -r index.html.bak
cd ../../
cd ./build/creator-zh-cn
sed -i.bak "s/Published with GitBook/华炎云帮助中心/g" *.html
sed -i.bak "s/www.gitbook.com/www.steedos.com\/us\/help/g" *.html
rm -r index.html.bak
cd ../../
cd ./build/calendar-zh-cn
sed -i.bak "s/Published with GitBook/华炎云帮助中心/g" *.html
sed -i.bak "s/www.gitbook.com/www.steedos.com\/cn\/help/g" *.html
rm -r index.html.bak