From 239e5cec2bb2845edee7aa9a94d2e2aa0748012c Mon Sep 17 00:00:00 2001 From: hadley Date: Thu, 21 Apr 2016 08:18:10 -0500 Subject: [PATCH] Use new RStudio book building tools --- _build.sh | 2 -- index.rmd | 1 + r4ds.Rproj | 3 +-- 3 files changed, 2 insertions(+), 4 deletions(-) delete mode 100755 _build.sh diff --git a/_build.sh b/_build.sh deleted file mode 100755 index 9f76ac5..0000000 --- a/_build.sh +++ /dev/null @@ -1,2 +0,0 @@ -#!/usr/bin/env Rscript -bookdown::render_book("index.rmd") diff --git a/index.rmd b/index.rmd index 5e89e8b..5fa6f6a 100644 --- a/index.rmd +++ b/index.rmd @@ -7,6 +7,7 @@ url: 'http\://r4ds.had.co.nz/' github-repo: hadley/r4ds twitter-handle: hadley cover-image: cover.png +site: bookdown::bookdown_site --- # Welcome {-} diff --git a/r4ds.Rproj b/r4ds.Rproj index 68b32c5..c5d14c2 100644 --- a/r4ds.Rproj +++ b/r4ds.Rproj @@ -15,5 +15,4 @@ LaTeX: XeLaTeX AutoAppendNewline: Yes StripTrailingWhitespace: Yes -BuildType: Custom -CustomScriptPath: _build.sh +BuildType: Website