Documentation ¶
Overview ¶
Package ciigo is a program to write static web server with embedded files using asciidoc and markdown markup languages.
For more information see the README file at the page repository https://github.com/shuLhan/ciigo.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Convert ¶
func Convert(dir, htmlTemplate string)
Convert all markup files inside directory, recursively, into HTML files using "htmlTemplate" file as template.
func Generate ¶
func Generate(root, out, htmlTemplate string)
Generate a static Go file to be used for building binary.
It will convert all markup files inside root directory into HTML files, recursively; and read all the HTML files and files in "content/assets" and convert them into Go file in "out".
Types ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server contains the HTTP server.
Source Files ¶
Directories ¶
Path | Synopsis |
---|---|
cmd
|
|
ciigo
ciigo is a CLI to convert, generate, and/or serve a directory that contains markup files, as HTML files.
|
ciigo is a CLI to convert, generate, and/or serve a directory that contains markup files, as HTML files. |
ciigo-example
Program ciigo-example provide an example on how to build a binary that include the static, generated .go file.
|
Program ciigo-example provide an example on how to build a binary that include the static, generated .go file. |
Click to show internal directories.
Click to hide internal directories.