-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy pathdoc-generator.sh
executable file
·51 lines (45 loc) · 3.04 KB
/
doc-generator.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
#!/bin/sh
#sourcekitten doc -- -project nugu-ios.xcodeproj -scheme NuguCore > NuguCore.json
#sourcekitten doc -- -project nugu-ios.xcodeproj -scheme NuguAgents > NuguAgents.json
#sourcekitten doc -- -project nugu-ios.xcodeproj -scheme NuguClientKit > NuguClientKit.json
#sourcekitten doc -- -project nugu-ios.xcodeproj -scheme NuguLoginKit > NuguLoginKit.json
#sourcekitten doc -- -project nugu-ios.xcodeproj -scheme NuguServiceKit > NuguServiceKit.json
#sourcekitten doc -- -project nugu-ios.xcodeproj -scheme NuguUIKit > NuguUIKit.json
#sourcekitten doc -- -project nugu-ios.xcodeproj -scheme KeenSense > KeenSense.json
#jazzy --sourcekitten-sourcefile NuguCore.json,NuguAgents.json,NuguClientKit.json,NuguLoginKit.json,NuguServiceKit.json,NuguUIKit.json,KeenSense.json
jazzy --config NuguCore/.jazzy.yaml
find ./docs/NuguCore -name '*.html' -type f -print0 | xargs -0 \
sed -i '' 's/<a href=\"index.html\">NuguCore/<a href=\"..\/index.html\">NUGU SDK/'
find ./docs/NuguCore -name '*.html' -type f -print0 | xargs -0 \
sed -i '' 's/<a href=\"..\/index.html\">NuguCore/<a href=\"..\/..\/index.html\">NUGU SDK/'
rm -rf ./docs/NuguCore/docsets
jazzy --config NuguAgents/.jazzy.yaml
find ./docs/NuguAgents -name '*.html' -type f -print0 | xargs -0 \
sed -i '' 's/<a href=\"index.html\">NuguAgents/<a href=\"..\/index.html\">NUGU SDK/'
find ./docs/NuguAgents -name '*.html' -type f -print0 | xargs -0 \
sed -i '' 's/<a href=\"..\/index.html\">NuguAgents/<a href=\"..\/..\/index.html\">NUGU SDK/'
rm -rf ./docs/NuguAgents/docsets
jazzy --config NuguClientKit/.jazzy.yaml
find ./docs/NuguClientKit -name '*.html' -type f -print0 | xargs -0 \
sed -i '' 's/<a href=\"index.html\">NuguClientKit/<a href=\"..\/index.html\">NUGU SDK/'
find ./docs/NuguClientKit -name '*.html' -type f -print0 | xargs -0 \
sed -i '' 's/<a href=\"..\/index.html\">NuguClientKit/<a href=\"..\/..\/index.html\">NUGU SDK/'
rm -rf ./docs/NuguClientKit/docsets
jazzy --config NuguLoginKit/.jazzy.yaml
find ./docs/NuguLoginKit -name '*.html' -type f -print0 | xargs -0 \
sed -i '' 's/<a href=\"index.html\">NuguLoginKit/<a href=\"..\/index.html\">NUGU SDK/'
find ./docs/NuguLoginKit -name '*.html' -type f -print0 | xargs -0 \
sed -i '' 's/<a href=\"..\/index.html\">NuguLoginKit/<a href=\"..\/..\/index.html\">NUGU SDK/'
rm -rf ./docs/NuguLoginKit/docsets
jazzy --config NuguServiceKit/.jazzy.yaml
find ./docs/NuguServiceKit -name '*.html' -type f -print0 | xargs -0 \
sed -i '' 's/<a href=\"index.html\">NuguServiceKit/<a href=\"..\/index.html\">NUGU SDK/'
find ./docs/NuguServiceKit -name '*.html' -type f -print0 | xargs -0 \
sed -i '' 's/<a href=\"..\/index.html\">NuguServiceKit/<a href=\"..\/..\/index.html\">NUGU SDK/'
rm -rf ./docs/NuguServiceKit/docsets
jazzy --config NuguUIKit/.jazzy.yaml
find ./docs/NuguUIKit -name '*.html' -type f -print0 | xargs -0 \
sed -i '' 's/<a href=\"index.html\">NuguUIKit/<a href=\"..\/index.html\">NUGU SDK/'
find ./docs/NuguUIKit -name '*.html' -type f -print0 | xargs -0 \
sed -i '' 's/<a href=\"..\/index.html\">NuguUIKit/<a href=\"..\/..\/index.html\">NUGU SDK/'
rm -rf ./docs/NuguUIKit/docsets