Removes the temporary files a page render writes into its output directory
Source:R/utils_render_register_htmls.R
remove_render_temp_files.RdMeant for on.exit(), so the files are also removed when rmarkdown::render() fails. This includes the page's own libs/ folder, except for a page in the "docs" folder itself, whose libs/ is the shared "docs/libs".