mkhtml

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

Installation

shell cargo install mkhtml

Building

shell cargo build # dev cargo build -r # release

Usage

As a binary

Arguments

By default mkhtml will build in the working directory but you can change that by using any of the following arguments:

(you can use one or more of them, you can use both absolute and relative paths).

As a library

Basic example: rust extern crate mkhtmllib; fn main() { let mut c = mkhtmllib::Config::new(); c.pages_dir = "path/".to_string(); mkhtmllib::mkhtml(c); }