Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions SUMMARY.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Summary

* [Introduction & Terms](README.md)

6 changes: 6 additions & 0 deletions book.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"plugins": ["-lunr", "-search", "search-pro", "disqus"],
"variables":{
"BASE_URL" :" https://pythonkr.github.io/python-terms"
}
}
20 changes: 20 additions & 0 deletions publishing_gitbook.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
git checkout gh-pages

# opt01. before push to remote
git merge --squash master --no-edit
git commit -m "squash and merge master"

# opt02. Publish remote repository contents
#git pull origin gh-pages --rebase

gitbook install&&gitbook build

cp -R _book/* .
git clean -fx node_modules
git clean -fx _book

git add .
git commit -a -m "Update docs"
git push origin gh-pages

git checkout master