Skip to content

Commit

Permalink
Force copy the index.html even if it exists.
Browse files Browse the repository at this point in the history
  • Loading branch information
mbjones committed Aug 13, 2019
1 parent c0bbe1d commit 8068bb2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/build_book.R
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
bookdown::render_book("index.Rmd", "bookdown::gitbook")

# Copy the HTML Bookdown produces from the ../README.md file to index.html
file.copy("_book/eml-ecological-metadata-language.html", "_book/index.html")
file.copy("_book/eml-ecological-metadata-language.html", "_book/index.html", overwrite = TRUE)

# Copy the Oxygen XML schema docs into the book
system(paste("cp -r", "./schema", "./_book/schema"))

0 comments on commit 8068bb2

Please sign in to comment.