Crate mkhtmllib

Source
Expand description

§mkhtmllib

This is supposed to go along the official Terminal Wrapper, but it is actually just supposed to have any Wrapper,

Makes HTML files from header.html and footer.html and pages,

Used to be a simple bash script that I used to build simple sites years ago, then I lost control over myself..

mkhtml works in a simple way, it builds HTML files using a simple pattern:

  • {header.html}
  • {pages/*}
  • {footer.html}

Built files will be named after their name in pages_dir

Copies {static/*} into {build/static/}.

Structs§

Config
Config struct

Enums§

Error
mkhtml lib errors

Functions§

mkhtml
mkhtml main function