bookdown
bookdown copied to clipboard
Relax index.Rmd constraint while still trying to guess output formats
This should close #1349
This PR tries to achieve two things:
- Supports
index.Rmdandindex.rmdas main file expected in a bookdown project - Still render a book even if these file are not provided (basically
render_book("my_file.Rmd")wheremy_file.Rmdplays the role of index file but with another name.
I am opening this PR as a draft to get some first feedback @yihui. I also need to check that report in community (https://community.rstudio.com/t/render-book-error-stop-if-not-exists-and-some-files-were-not-found/139927/19) is taken into account.