build_home | R Documentation |
Build a home page for a lesson
build_home(pkg, quiet, next_page = NULL)
pkg |
a list generated from |
quiet |
a boolean passed to |
next_page |
the next page file name. This will allow the navigation element to be set up correctly on the navigation bar |
The index page of the lesson is a combination of two pages:
index.md (or README if the index does not exist)
learners/setup.md
This function uses render_html()
to convert the page into HTML, which gets
passed on to the "syllabus" or "overview" templates in {varnish}
(via the
build_html()
function as the {{{ readme }}}
and {{{ setup }}}
keys.
nothing. This is used for its side-effect
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.