Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[WIP]Add gitbook publishing config #8

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
ohahohah wants to merge 1 commit into gh-pages from issue05_gitbook_publishing
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
View file Open in desktop
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
View file Open in desktop
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
View file Open in desktop
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

AltStyle によって変換されたページ (->オリジナル) /