Set up Manuscript folder for Leanpub publishing
set_up_leanpub(
path = ".",
clean_up = FALSE,
render = NULL,
output_dir = "manuscript",
make_book_txt = FALSE,
quiz_dir = "quizzes",
run_quiz_checks = FALSE,
remove_resources_start = FALSE,
verbose = TRUE,
footer_text = NULL
)
path to the top of course repository (looks for .git folder)
TRUE/FALSE the old output directory should be deleted and everything created fresh.
If NULL will not be run. If "quarto" or "bookdown" then the respective render type will be run
output directory to put files. It should likely be relative to path
Should [ottrpal::course_to_book_txt()] be run to create a `Book.txt` in the output directory?
directory that contains the quiz .md files that should be checked and incorporated into the Book.txt file. If you don't have quizzes, set this to NULL
TRUE/FALSE run quiz checks
remove the word `resources/` at the front of any image path.
print diagnostic messages
Optionally can add a bit of text that will be added to the end of each file before the references section.
A list of output files and diagnostics