Documentation
¶
Index ¶
Constants ¶
View Source
const GoSlateVersion = "v1.0.1"
View Source
const SlateVersion = "v2.3.1"
Variables ¶
This section is empty.
Functions ¶
func ListBundled ¶
Types ¶
type ContentParams ¶
type ContentParams struct {
Title string `yaml:"title,omitempty"`
Search bool `yaml:"search,omitempty"`
Highlight string `yaml:"highlight_style,omitempty"`
Langs []string `yaml:"language_tabs,omitempty"`
Includes []string `yaml:"includes,omitempty"`
Style string `yaml:"style,omitempty"`
Logo string `yaml:"logo,omitempty"`
RTLEnabled bool `yaml:"enable_rtl,omitempty"`
HTMLHead string `yaml:"html_head,omitempty"`
}
func (*ContentParams) StyleCSS ¶
func (p *ContentParams) StyleCSS() string
type Params ¶
type Params struct {
MinifyHTML bool // produce compact HTML
MinifyJS bool // minify Javascript
MinifyCSS bool // produce compact CSS
StyleFile string // load SCSS overrides
LogoFile string // use this logo (which should be located in images/ directory)
Search *bool // if nil, use the default from index.html.md preamble
RTL *bool // Right-to-Left CSS, if nil, use the default from index.html.md preamble
}
Configuration
Click to show internal directories.
Click to hide internal directories.