Documentation ¶
Overview ¶
Package docshelper provides some helpers for the Hugo documentation, and is of limited interest for the general Hugo user.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DocProviders = make(map[string]DocProvider)
Functions ¶
func AddDocProvider ¶
func AddDocProvider(name string, provider DocProvider)
Types ¶
type DocProvider ¶
type DocProvider func() map[string]interface{}
func (DocProvider) MarshalJSON ¶
func (d DocProvider) MarshalJSON() ([]byte, error)
Click to show internal directories.
Click to hide internal directories.