Skip to content

Commit

Permalink
get rid of the code for compatibility with an unreleased version of b…
Browse files Browse the repository at this point in the history
…ookdown
  • Loading branch information
yihui committed Aug 8, 2020
1 parent f9cf1ac commit fb31d0a
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions R/render.R
Original file line number Diff line number Diff line change
Expand Up @@ -81,10 +81,6 @@ render_book = function(
)

aux_diro = '_bookdown_files'
# for compatibility with bookdown <= 0.0.64
if (isTRUE(dir_exists(aux_dir2 <- file.path(output_dir, aux_diro)))) {
if (!dir_exists(aux_diro)) file.rename(aux_dir2, aux_diro)
}
# move _files and _cache from _bookdown_files to ./, then from ./ to _bookdown_files
aux_dirs = files_cache_dirs(aux_diro)
move_dirs(aux_dirs, basename(aux_dirs))
Expand Down

0 comments on commit fb31d0a

Please sign in to comment.