drasil-printers-0.1.10.0: A framework for code and document generation for scientific software - Printers SubPackage
Safe HaskellSafe-Inferred
LanguageHaskell2010

Language.Drasil.Markdown.Config

Description

Defines functions to create .toml and .csv config files for mdBook.

Synopsis

Documentation

makeBook :: Document -> PrintingInformation -> Doc Source #

Prints the .toml config file for mdBook.

makeRequirements :: PrintingInformation -> Doc Source #

Prints the .csv file mapping the original filepaths of assets to the location mdBook uses.

mkTitle :: PrintingInformation -> Sentence -> Doc Source #

Helper function to render the title Sentence as a Doc

assetMat :: PrintingInformation -> [[Filepath]] Source #

Helper function to map the original filepaths of assets to the location mdBook uses.