Description Usage Arguments Details
Note that this is a wrapper to system git call.
| 1 2 | publishGitbook(repo, out.dir = paste0(getwd(), "/_book"),
  message = "Update built gitbook")
 | 
| repo | the github repository. Should be of form username/repository | 
| out.dir | location of the built gitbook. | 
| message | commit message. | 
This function assumes that the repository has already exists on Github.
Thanks to ramnathv for the shell script. https://github.com/GitbookIO/gitbook/issues/106#issuecomment-40747887
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.