View source: R/batch_compile.R
batch_compile | R Documentation |
compile_lesson()
Function to rebuild a lesson or lessons that found in a virtualized Google Drive for Desktop folder. It will also stage the lesson in the published folder if requested, but will not publish. To do that, you should call batch_publish()
batch_compile(
shared_drive = "s",
change_this = NULL,
clean = FALSE,
rebuild = FALSE
)
shared_drive |
passed to
|
change_this |
A list of values to change in the front matter before rebuilding. Default=NULL. Example: list(Title="Stormy Misty's Foal") would change the title of the lesson to the name of a horsey novel. If gh_proj_name=="all", make sure you set this to something you want to change for everything. |
clean |
Do you want to clean the meta/JSON folder and build everything from scratch? (Gets passed to |
rebuild |
Do you want to force rebuild everything (even if a particular item seems up to date?) default=FALSE (This par gets passed on as rebuild to |
This assumes that you have Google Drive for Desktop set up and have permissions to access the lesson files.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.