config

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: May 15, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const CONFIG_FILE_NAME = "b3.json"

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	PostsGlob               []string           `json:"posts_glob"`
	OutDirPath              string             `json:"out_dir_path"`
	AssetsDirPath           []string           `json:"assets_dir_path"`
	HomeLink                string             `json:"home_link"`
	HeaderLinks             []ConfigHeaderLink `json:"header_links"`
	DocTitle                string             `json:"doc_title"`
	StripHtmlExtInProdLinks bool               `json:"strip_html_ext_in_prod_links"`
}

func New

func New(rootPath string) (Config, error)
type ConfigHeaderLink struct {
	Name string `json:"name"`
	Url  string `json:"url"`
}

Jump to

Keyboard shortcuts

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