get_chapters {ottrpal}R Documentation

Make Leanpub file that has embed webpage of a chapter

Description

Make Leanpub file that has embed webpage of a chapter

Usage

get_chapters(bookdown_index = file.path("docs", "index.html"), base_url = NULL)

Arguments

bookdown_index

The file path of the rendered bookdown index.html file

base_url

The base url of where the chapters are published – the url to provide to the iframe in Leanpub e.g. https://jhudatascience.org/OTTR_Template/coursera

Value

A data.frame of the chapter urls and their titles that are to be ported to Leanpub. This can be passed to


[Package ottrpal version 1.2.1 Index]