I can't figure put how to make a book with Rmd files in a subdirectory.
Here's my current directory structure:
What should go in _bookdown.yml
and in index.RMD
to make this work?
It turns out that you just have to specify the directory of each RMD in _bookdown.yml
:
rmd_files: ["index.Rmd", "chapters/chapt1.RMD", "chapters/chapt2.RMD"]
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With