mirror of
https://git.sr.ht/~adnano/kiln
synced 2024-10-30 09:23:09 +00:00
Update documentation
This commit is contained in:
parent
de6b0258fc
commit
bd3ffe23d9
|
@ -6,9 +6,7 @@ kiln - a simple static site generator
|
||||||
|
|
||||||
# SYNOPSIS
|
# SYNOPSIS
|
||||||
|
|
||||||
*kiln* build++
|
*kiln* build [-c _config_]
|
||||||
[-c _config_]++
|
|
||||||
[-t _task_]
|
|
||||||
|
|
||||||
*kiln* new _path_
|
*kiln* new _path_
|
||||||
|
|
||||||
|
@ -20,7 +18,7 @@ kiln - a simple static site generator
|
||||||
|
|
||||||
*kiln new* creates a new kiln site at the given path.
|
*kiln new* creates a new kiln site at the given path.
|
||||||
|
|
||||||
*kiln version* prints version information for the *kiln* program.
|
*kiln version* prints version information for the kiln program.
|
||||||
|
|
||||||
# OPTIONS
|
# OPTIONS
|
||||||
|
|
||||||
|
@ -29,9 +27,6 @@ kiln - a simple static site generator
|
||||||
*-c* _config_
|
*-c* _config_
|
||||||
Specifies the configuration file to use. Defaults to "config.toml".
|
Specifies the configuration file to use. Defaults to "config.toml".
|
||||||
|
|
||||||
*-t* _task_
|
|
||||||
Specifies the task to run. If unspecified, all tasks will be run.
|
|
||||||
|
|
||||||
# OVERVIEW
|
# OVERVIEW
|
||||||
|
|
||||||
A kiln site is built in one or more steps called *tasks*.
|
A kiln site is built in one or more steps called *tasks*.
|
||||||
|
@ -213,7 +208,7 @@ command to convert Gemini text to HTML.
|
||||||
|
|
||||||
```
|
```
|
||||||
# Build the site
|
# Build the site
|
||||||
[tasks.gemini]
|
[[tasks]]
|
||||||
input = [".gmi"]
|
input = [".gmi"]
|
||||||
output = ".gmi"
|
output = ".gmi"
|
||||||
template = ".gmi"
|
template = ".gmi"
|
||||||
|
@ -221,7 +216,7 @@ command to convert Gemini text to HTML.
|
||||||
output_dir = "public"
|
output_dir = "public"
|
||||||
|
|
||||||
# Export an HTML version of the site
|
# Export an HTML version of the site
|
||||||
[tasks.exporthtml]
|
[[tasks]]
|
||||||
input = [".gmi"]
|
input = [".gmi"]
|
||||||
output = ".html"
|
output = ".html"
|
||||||
template = ".gmi"
|
template = ".gmi"
|
||||||
|
@ -235,7 +230,7 @@ content directory and HTML templates in the templates directory. This
|
||||||
configuration makes use of the *markdown*(1) comand to convert Markdown to HTML.
|
configuration makes use of the *markdown*(1) comand to convert Markdown to HTML.
|
||||||
|
|
||||||
```
|
```
|
||||||
[tasks.markdowntohtml]
|
[[tasks]]
|
||||||
input_ext = [".md"]
|
input_ext = [".md"]
|
||||||
output_ext = ".html"
|
output_ext = ".html"
|
||||||
template_ext = ".html"
|
template_ext = ".html"
|
||||||
|
|
Loading…
Reference in a new issue