[][src]Crate libssg

Structs

BuildAction
BuildArtifact
MatchPathIter
MatchPatternIter
RssItem
State
Uuid

A Universally Unique Identifier (UUID).

Enums

MatchPattern

Match files in current directory by using literals, regex or a list of patterns.

Renderer

A template rendering pipeline.

Route

Explains how to map the relative file system path to a relative URL.

Value

Represents any valid JSON value.

Traits

BFn

Functions

build_rss_feed
compiler_seq
copy

Copy everything that matches to pattern to destinations according to route

create
include_helper

Include HTML string without escaping.

match_pattern

Find matches from current directory and potentially descendants for pattern. For each match, create a route, render and compile.

pandoc
rss_feed
uuid_from_path

Type Definitions

Compiler

Compilers are functions or closures that transform resource files (think stylesheets, text in markdown, etc) to something. A compiler that uses pandoc is provided, it expects a pandoc markdown file with optional metadata in the preamble like so:

Rule

Rules are generation steps, that is, separate steps in the generation process. They can alter State however they like.