-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.sh
More file actions
executable file
·37 lines (29 loc) · 2.21 KB
/
build.sh
File metadata and controls
executable file
·37 lines (29 loc) · 2.21 KB
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
curl https://raw.githubusercontent.com/gyselroth/balloon/master/README.md > docs/index.md
curl https://raw.githubusercontent.com/gyselroth/balloon/master/CHANGELOG.md > docs/server/changelog.md
curl https://raw.githubusercontent.com/gyselroth/balloon/master/UPGRADE.md > docs/server/upgrade.md
curl https://raw.githubusercontent.com/gyselroth/balloon/master/CONTRIBUTING.md > docs/server/contribute.md
curl https://raw.githubusercontent.com/gyselroth/balloon/master/README.md > docs/server/index.md
curl https://raw.githubusercontent.com/gyselroth/balloon-helm/master/README.md > docs/server/installation-helm.md
curl https://raw.githubusercontent.com/gyselroth/balloon-client-web/master/CHANGELOG.md > docs/web-client/changelog.md
curl https://raw.githubusercontent.com/gyselroth/balloon-client-web/master/UPGRADE.md > docs/web-client/upgrade.md
curl https://raw.githubusercontent.com/gyselroth/balloon-client-web/master/CONTRIBUTING.md > docs/web-client/contribute.md
curl https://raw.githubusercontent.com/gyselroth/balloon-client-web/master/README.md > docs/web-client/index.md
curl https://raw.githubusercontent.com/gyselroth/balloon-client-desktop/master/CHANGELOG.md > docs/desktop-client/changelog.md
curl https://raw.githubusercontent.com/gyselroth/balloon-client-desktop/master/UPGRADE.md > docs/desktop-client/upgrade.md
curl https://raw.githubusercontent.com/gyselroth/balloon-client-desktop/master/CONTRIBUTING.md > docs/desktop-client/contribute.md
curl https://raw.githubusercontent.com/gyselroth/balloon-client-desktop/master/README.md > docs/desktop-client/index.md
curl https://raw.githubusercontent.com/gyselroth/balloon-sdk-go/master/README.md > docs/sdk/go/index.md
curl https://raw.githubusercontent.com/gyselroth/balloon-sdk-typescript-node/master/README.md > docs/sdk/nodejs/index.md
curl https://raw.githubusercontent.com/gyselroth/balloon-sdk-php/master/README.md > docs/sdk/php/index.md
git clone https://github.com/gyselroth/balloon-sdk-php
cp -Rpv balloon-sdk-php/docs/* docs/sdk/php/
rm -rfv balloon-sdk-php
find docs -name \*.md -exec sed 's/\\$/<br\/\>/g' -i {} \;
git commit -m "docs" .
mkdocs gh-deploy
git checkout gh-pages
git checkout master api/
git add api
git commit -m "merged apidoc" api
git checkout master
git push