renderer

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Sep 21, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const ConfigName = ".quokka.yml"

ConfigName is the generic name of the file that acts at the configuration

Variables

This section is empty.

Functions

func Analyze

func Analyze(dir, output, input string, set []string)

Analyze is a work in progress function to analyze the template directory and gather information about where the configuration files are stored and to which templates they should apply.

func GetRootConfig

func GetRootConfig(dir string, ctx conf.InputCtx) *conf.Root

GetRootConfig returns the root configuration that is expected to be at the root of the template. Returns nil if the root configuration cannot be found

func HandleRootConfig

func HandleRootConfig(dir string, ctx conf.InputCtx) *conf.Root

HandleRootConfig will find and parse the root configuration. It will then ask the user for the variables in the root configuration

func Render

func Render(template, output, toutput, path, input string, set []string, keep bool, depth int, yes bool)

Render is the main render function

Types

This section is empty.

Jump to

Keyboard shortcuts

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