publishGitbook: Publish the built gitbook to Github.

Description Usage Arguments Details

Description

Note that this is a wrapper to system git call.

Usage

1
2
publishGitbook(repo, out.dir = paste0(getwd(), "/_book"),
  message = "Update built gitbook")

Arguments

repo

the github repository. Should be of form username/repository

out.dir

location of the built gitbook.

message

commit message.

Details

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


jbryer/Rgitbook documentation built on May 18, 2019, 7:01 p.m.