mkws(1)

NAME
mkws - make web site

SYNOPSIS
mkws url [path]

DESCRIPTION
The mkws utility uses pp(1) and the theme files in the MKWSTHEMEPATH directory to preprocess all files in [path] in order to produce a static web site in the current directory. If no [path] is specified, the current directory is used instead.

The options are as follows:

url The url of the web site. It is used for generating sitemap.xml

[path]
    The path where the unpreprocessed files are located. If no [path] is specified, the current directory is used instead.

ENVIRONMENT

MKWSTHEMEDIR
    The directory containing the theme files. See the FILES section for the minimum required files for a theme. If no MKWSTHEMEDIR variable is set [path]/share wil be used.

LANG
    The language for the website. It will be parsed to fill in the lang attribute of the html element and then charset meta element.

FILES

$MKWSTHEMEDIR/l.upphtml
    The layout file of the website. It contains the DOCTYPE, html, head, title, meta , link , body elements.

$MKWSTHEMEDIR/sitemap.xml
    The sitemap.txt template.

EXIT STATUS

EXAMPLES
Make https://example.com web site using the unpreprocessed files in the current directory

    $ mkws https://example.com

Make https://example.com web site using the unpreprocessed files in the ~/src/ws directory

    $ mkws https://example.com ~/src/ws

SEE ALSO
sh(1) pp(1) locale(1)