Function loading a tree and compiling the corresponding textbook. Pages are formatted and organized so that they can then be added to a quarto website.

publish_textbook(tree, course_paths, languages)

Arguments

tree

List. Selected tree to retrieve the position of the presentation.

course_paths

List. List of paths to either databases or documents.

languages

Tibble. List of managed languages.

Value

Write folders and pages to disk in the textbook folder.

Author

Nicolas Mangin