build

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 27, 2026 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	ContentDir  string
	OutputDir   string
	StaticDir   string
	LayoutsDir  string
	BaseURL     string
	DefaultLang string
	SiteTitle   string
	SiteDesc    string
	EditURLBase string
	Clean       bool
	LiveReload  bool
}

Config holds the build configuration.

type Stats

type Stats struct {
	PagesRebuilt int
	PagesTotal   int
	Duration     time.Duration
}

Stats holds build statistics.

func Build

func Build(cfg *Config) (*Stats, error)

Build runs the full incremental build.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL