mirror of
https://github.com/msberends/AMR.git
synced 2026-10-01 04:13:33 +02:00
(v2.1.1.9251) fix colour on GitHub docs
This commit is contained in:
1 parent
4a336d040c
commit
6135805455
6 files changed
+32
-28
No files matched your search
@@ -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