generator

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2025 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Package generator exposes the static site generation API for go-cms hosts. Use NewService with Config and Dependencies to build prerendered pages, assets, sitemaps, or run per page builds.

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrNotImplemented  = internal.ErrNotImplemented
	ErrServiceDisabled = internal.ErrServiceDisabled
)

Functions

This section is empty.

Types

type AssetResolver

type AssetResolver = internal.AssetResolver

type BuildMetrics

type BuildMetrics = internal.BuildMetrics

type BuildOptions

type BuildOptions = internal.BuildOptions

type BuildResult

type BuildResult = internal.BuildResult

type Config

type Config = internal.Config

type Dependencies

type Dependencies = internal.Dependencies

type Hooks

type Hooks = internal.Hooks

type LocaleLookup

type LocaleLookup = internal.LocaleLookup

type NoOpAssetResolver

type NoOpAssetResolver = internal.NoOpAssetResolver

type RenderDiagnostic

type RenderDiagnostic = internal.RenderDiagnostic

type RenderedPage

type RenderedPage = internal.RenderedPage

type Service

type Service = internal.Service

func NewDisabledService

func NewDisabledService() Service

NewDisabledService returns a Service that fails all operations with ErrServiceDisabled.

func NewService

func NewService(cfg Config, deps Dependencies) Service

NewService wires a static site generator with the supplied configuration and dependencies.

type ThemingConfig

type ThemingConfig = internal.ThemingConfig

Jump to

Keyboard shortcuts

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