Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config interface { URLConfig Languages() []LanguageConfig }
type ContentSpec ¶
type Descriptor ¶
type Descriptor struct { // The content to publish. Src io.Reader // The OutputFormat of this content. OutputFormat valueobject.Format // Where to publish this content. This is a filesystem-relative path. TargetPath string // If set, will replace all relative URLs with this one. AbsURLPath string }
Descriptor describes the needed publishing chain for an item.
type LanguageConfig ¶
type Publisher ¶
type Publisher interface {
Publish(d Descriptor) error
}
Publisher publishes a result file.
Click to show internal directories.
Click to hide internal directories.