model

package
v0.0.0-...-75dd9a8 Latest Latest
Warning

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

Go to latest
Published: May 22, 2025 License: MIT Imports: 1 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 {
	HttpAddr           string     `json:"httpAddr,omitempty" yaml:"httpAddr,omitempty" toml:"httpAddr,omitempty"`
	HttpPort           string     `json:"httpPort,omitempty" yaml:"httpPort,omitempty" toml:"httpPort,omitempty"`
	Description        string     `json:"description,omitempty" yaml:"description,omitempty" toml:"description,omitempty"`
	DocsDirectory      string     `json:"docsDirectory,omitempty" yaml:"docsDirectory,omitempty" toml:"docsDirectory,omitempty"`
	CustomDirectory    string     `json:"customDirectory,omitempty" yaml:"customDirectory,omitempty" toml:"customDirectory,omitempty"`
	HasLandingPage     bool       `json:"hasLandingPage,omitempty" yaml:"hasLandingPage,omitempty" toml:"hasLandingPage,omitempty"`
	HasNavBar          bool       `json:"hasNavBar,omitempty" yaml:"hasNavBar,omitempty" toml:"hasNavBar,omitempty"`
	DocsBasePath       string     `json:"docsBasePath,omitempty" yaml:"docsBasePath,omitempty" toml:"docsBasePath,omitempty"`
	EditPageLinkFormat string     `json:"editPageLinkFormat,omitempty" yaml:"editPageLinkFormat,omitempty" toml:"editPageLinkFormat,omitempty"`
	Languages          []Language `json:"languages,omitempty" yaml:"languages,omitempty" toml:"languages,omitempty"`
}

func (*Config) I18nLanguages

func (c *Config) I18nLanguages() []i18n.Language

type Language

type Language struct {
	Name        string `json:"name" yaml:"name" toml:"name"`
	Description string `json:"description" yaml:"description" toml:"description"`
}

Jump to

Keyboard shortcuts

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