bookdown_to_leanpub: Convert Bookdown to Leanpub

Description Usage Arguments Value

View source: R/bookdown_to_leanpub.R

Description

Convert Bookdown to Leanpub

Usage

1
2
3
4
5
6
7
8
bookdown_to_leanpub(
  path = ".",
  render = TRUE,
  output_dir = "manuscript",
  make_book_txt = TRUE,
  remove_resources_start = FALSE,
  verbose = TRUE
)

Arguments

path

path to the bookdown book, must have a '_bookdown.yml' file

render

if 'TRUE', then [bookdown::render_book()] will be run on each Rmd.

output_dir

output directory to put files. It should likely be relative to path

make_book_txt

Should [leanbuild::bookdown_to_book_txt()] be run to create a 'Book.txt' in the output directory?

remove_resources_start

remove the word 'resources/' at the front of any image path.

verbose

print diagnostic messages

Value

A list of output files and diagnostics


muschellij2/leanbuild documentation built on Dec. 21, 2021, 11:03 p.m.