mirror of
https://github.com/msberends/AMR.git
synced 2025-07-10 12:21:53 +02:00
(v2.1.1.9251) fix colour on GitHub docs
This commit is contained in:
@ -658,9 +658,11 @@ if (files_changed()) {
|
||||
|
||||
# Update index.md and README.md -------------------------------------------
|
||||
if (files_changed("man/microorganisms.Rd") | files_changed("man/antimicrobials.Rd") | files_changed("man/clinical_breakpoints.Rd") | files_changed("man/antibiogram.Rd")) {
|
||||
usethis::ui_info("Update index.md")
|
||||
usethis::ui_info("Rendering {usethis::ui_field('index.md')} and {usethis::ui_field('README.md')}")
|
||||
suppressWarnings(rmarkdown::render("index.Rmd", quiet = TRUE))
|
||||
suppressWarnings(rmarkdown::render("README.Rmd", quiet = TRUE))
|
||||
unlink("index.html") # remove previews from folder
|
||||
unlink("README.html")
|
||||
}
|
||||
|
||||
# Finished ----------------------------------------------------------------
|
||||
|
Reference in New Issue
Block a user