Comments (1)
Hi @cjlortie,
I've been using both options and I think that bookdown is simpler building-wise -->>> but publishing is trickier.
- With the websites, you develop/write content in .Rmds on a gh-pages branch -> knit .htmls -> and push and voila, it's online!
- With bookdown, you develop/write content on some (eg master) branch -> knit .htmls -> have to transfers the .html files to the gh-pages branch for publishing. This extra step can be done
- option 2A: as described by Yihui using Travis CI: for:
- option 2B: writing a script (in R/bash/something else) to copy html content from the first branch to the gh-pages branch.
- option don't do this: in Finder copying files from your first branch somewhere else, switching to the gh-pages branch, pasting and pushing.
Option 2A is obviously cleaner and better, and although I've worked hackily (new word there) with Travis CI in the past, in 2 days I couldn't get this to work properly (I was so close but had to move on). Ultimately I opted for option 2B, making this _deploy.r script (borrowed from a script from Ben Best).
from rmarkdown-website-tutorial.
Related Issues (1)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rmarkdown-website-tutorial.