View source: R/build-presentations.R
build_presentations | R Documentation |
Presentations/
is
rendered. Rendered html and associated directories are placed within docs/presentations/
In addition, a small file is created in Documents/presentations
that is embeds the presentation
into the website generated by packagePages()/projectPages()
build_presentations( output_directory = "docs/presentations", depth = 1L, encoding = "UTF-8", quiet = TRUE, input_presentations_directory = "Presentations" )
output_directory |
Output path. Relative paths are taken relative to the
|
depth |
Depth of path relative to root of documentation. Used to adjust relative links in the navbar. |
encoding |
The encoding of the input files. |
quiet |
Set to 'FALSE' to display output of knitr and pandoc. This is useful when debugging. |
input_presentations_directory |
Defaults to Presentations |
If you want articles that are not vignettes, either put them in
subdirectories or list in .Rbuildignore
. An articles link
will be automatically added to the default navbar if the vignettes
directory is present: if you do not want this, you will need to
customise the navbar. See build_site
details.
Build presentations
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.