update book

pull/89/head
sunface 3 years ago
parent 1140c9328d
commit 511f052127

BIN
.DS_Store vendored

Binary file not shown.

@ -0,0 +1 @@
wayto.rs

@ -1,4 +1,11 @@
## this script is releasing the book to github pages
## build book
mdbook build mdbook build
## copy CNAME info to book dir
cp CNAME ./book/
## init git repo
cd book cd book
git init git init
git config user.name "sunface" git config user.name "sunface"
@ -7,4 +14,6 @@ git add .
git commit -m 'release book' git commit -m 'release book'
git branch -M gh-pages git branch -M gh-pages
git remote add origin https://github.com/rustcm/the-way-to-rust git remote add origin https://github.com/rustcm/the-way-to-rust
## push to github pages
git push -u -f origin gh-pages git push -u -f origin gh-pages

@ -1 +1,3 @@
# Chapter 1 # Chapter 1
test,test

Binary file not shown.

Binary file not shown.
Loading…
Cancel
Save