pub fn mkhtml(config: Config) -> Result<(), Error>
Expand description

mkhtml main function

Takes a config as input, does not return anything,

Builds files using configuration given in Config,

Adds a simple HTML comment watermark at the top of every HTML file built with it,

Uses walkdir to go through every folders and sub folders than might be in pages_dir,

If CARGO_PKG_VERSION environment variable is “dry”, files will be deleted after run,

Returns () on success, mkhtmllib::Error on errors.