-
Notifications
You must be signed in to change notification settings - Fork 61
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
48 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,3 +12,5 @@ lib | |
target | ||
.idea | ||
**/vendor/bundle | ||
node_modules | ||
_book |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# Summary | ||
|
||
* [Introduction](README.md) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
#!/bin/sh | ||
|
||
# install the plugins and build the static site | ||
gitbook install && gitbook build | ||
|
||
# checkout to the gh-pages branch | ||
git checkout gh-pages || git checkout -b gh-pages | ||
|
||
# pull the latest updates | ||
git pull origin gh-pages --rebase | ||
|
||
# copy the static site files into the current directory. | ||
cp -R _book/* . | ||
|
||
# remove 'node_modules' and '_book' directory | ||
git clean -fx node_modules | ||
git clean -fx _book | ||
|
||
# add all files | ||
git add . | ||
|
||
# commit | ||
git commit -a -m "Update docs" | ||
|
||
# push to the origin | ||
git push -u origin gh-pages | ||
|
||
# checkout to the master branch | ||
git checkout master |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{ | ||
"plugins": [ | ||
"-sharing", | ||
"github", | ||
"anchors", | ||
"splitter" | ||
], | ||
|
||
"pluginsConfig": { | ||
"github": { | ||
"url": "https://github.com/LiveRamp/jack" | ||
} | ||
} | ||
} |