Build the 404 page for a lesson
Arguments
- pkg
a list object generated from
pkgdown::as_pkgdown()
- quiet
passed to
build_html()
. WhenFALSE
(default), a message will be printed to the screen about the build progress. WhenTRUE
, no messages are generated.
Details
During the lesson build process, a 404 page with absolute links back to the source pages must be generated otherwise, subsequent attempts to escape the 404 page will be futile.
This function is intended to be run on a lesson website that has already been built and is called for its side-effect of creating a 404 page.
See also
build_site()
which calls this function and build_html()
, which
this function calls.