This repository has been archived by the owner on Sep 20, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
jazzy.sh
executable file
·78 lines (63 loc) · 3.42 KB
/
jazzy.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
68
69
70
71
72
73
74
75
76
77
78
#!/bin/sh
CWD="$(pwd)"
MY_SCRIPT_PATH=`dirname "${BASH_SOURCE[0]}"`
cd "${MY_SCRIPT_PATH}"
rm -drf docs/*
echo "Creating API Docs for the Driver"
jazzy --readme ./README-API.md \
--github_url https://github.com/RiftValleySoftware/RVS_GTDriver \
--title RVS_BTDriver\ Public\ API\ Doumentation \
--min_acl public \
--build-tool-arguments -scheme,RVS_BTDriver_MacOS
cp icon.png docs/icon.png
cp img/* docs/img
echo "Creating Internal Docs for the Driver"
jazzy --readme ./README.md \
--github_url https://github.com/RiftValleySoftware/RVS_GTDriver/tree/master/RVS_BTDriver \
--title RVS_BTDriver\ Public\ Internal\ Code\ Doumentation \
--output docs/internal \
--build-tool-arguments -scheme,RVS_BTDriver_MacOS \
--min_acl private
cp icon.png docs/internal/icon.png
cp img/* docs/internal/img
echo "Creating MacOS Test Harness Docs"
jazzy --readme ./RVS_BTDriver_MacOS_Test_Harness/README.md \
--github_url https://github.com/RiftValleySoftware/RVS_GTDriver/tree/master/RVS_BTDriver_MacOS_Test_Harness \
--title RVS_BTDriver\ MacOS\ Test\ Harness\ Project\ Code\ Doumentation \
--output docs/macOSTestHarness \
--build-tool-arguments -scheme,RVS_BTDriver_MacOS_Test_Harness \
--min_acl private
cp RVS_BTDriver_MacOS_Test_Harness/icon.png docs/macOSTestHarness/icon.png
echo "Creating OBD MacOS Test Harness Docs"
jazzy --readme ./RVS_BTDriver_OBD_Mac_Test_Harness/README.md \
--github_url https://github.com/RiftValleySoftware/RVS_GTDriver/tree/master/RVS_BTDriver_OBD_Mac_Test_Harness \
--title RVS_BTDriver\ MacOS\ OBD\ Test\ Harness\ Project\ Code\ Doumentation \
--output docs/macOSOBDTestHarness \
--build-tool-arguments -scheme,RVS_BTDriver_OBD_Mac_Test_Harness \
--min_acl private
cp RVS_BTDriver_OBD_Mac_Test_Harness/icon.png docs/macOSOBDTestHarness/icon.png
echo "Creating iOS Test Harness Docs"
jazzy --readme ./RVS_BTDriver_iOS_Test_Harness/README.md \
--github_url https://github.com/RiftValleySoftware/RVS_GTDriver/tree/master/RVS_BTDriver_iOS_Test_Harness \
--title RVS_BTDriver\ iOS/iPadOS\ Test\ Harness\ Project\ Code\ Doumentation \
--output docs/iOSTestHarness \
--build-tool-arguments -scheme,RVS_BTDriver_iOS_Test_Harness \
--min_acl private
cp RVS_BTDriver_iOS_Test_Harness/icon.png docs/iOSTestHarness/icon.png
echo "Creating WatchOS Test Harness Docs"
jazzy --readme ./RVS_BTDriver_WatchOS_Test_Harness/README.md \
--github_url https://github.com/RiftValleySoftware/RVS_GTDriver/tree/master/RVS_BTDriver_WatchOS_Test_Harness \
--title RVS_BTDriver\ WatchOS\ Test\ Harness\ Project\ Code\ Doumentation \
--output docs/watchOSTestHarness \
--build-tool-arguments -scheme,RVS_BTDriver_WatchOS_Test_Harness \
--min_acl private
cp RVS_BTDriver_WatchOS_Test_Harness/icon.png docs/watchOSTestHarness/icon.png
echo "Creating tvOS Test Harness Docs"
jazzy --readme ./RVS_BTDriver_tvOS_Test_Harness/README.md \
--github_url https://github.com/RiftValleySoftware/RVS_GTDriver/tree/master/RVS_BTDriver_tvOS_Test_Harness \
--title RVS_BTDriver\ tvOS\ Test\ Harness\ Project\ Code\ Doumentation \
--output docs/tvOSTestHarness \
--build-tool-arguments -scheme,RVS_BTDriver_tvOS_Test_Harness \
--min_acl private
cp RVS_BTDriver_tvOS_Test_Harness/icon.png docs/tvOSTestHarness/icon.png
cd "${CWD}"