From 7d0dcae66e76fc162ae3f216a24073edcdae4158 Mon Sep 17 00:00:00 2001 From: adnano Date: Wed, 9 Feb 2022 00:02:53 -0500 Subject: [PATCH] docs: Update example configuration --- docs/kiln.1.scd | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/docs/kiln.1.scd b/docs/kiln.1.scd index 423e6dc..63a5686 100644 --- a/docs/kiln.1.scd +++ b/docs/kiln.1.scd @@ -337,19 +337,21 @@ command to convert Gemini text to HTML. template = ".gmi" postprocess = "gmnitohtml" static_dir = "static" - output_dir = "public.html" + output_dir = "public_html" ``` -The following configuration generates an HTML site from Markdown files in the -content directory and HTML templates in the templates directory. This -configuration makes use of the *markdown*(1) comand to convert Markdown to HTML. +The following configuration generates an HTML site from Markdown and Gemini text +files in the content directory and HTML templates in the templates directory. +This configuration makes use of the *mdtohtml*(1) command to convert Markdown to +HTML, and the *gmnitohtml*(1) command to convert Gemini text to HTML. ``` [[tasks]] - input_ext = [".md"] - output_ext = ".html" - template_ext = ".html" - preprocess.md = "markdown" + input = [".md", ".gmi"] + output = ".html" + template = ".html" + preprocess.md = "mdtohtml" + preprocess.gmi = "gmnitohtml" static_dir = "static" output_dir = "public" ```