ref: 79a06aa4b64b526c242dfa41f2c7bc24e1352d5b
dir: /media/docshelper.go/
package media import ( "github.com/gohugoio/hugo/docshelper" ) // This is is just some helpers used to create some JSON used in the Hugo docs. func init() { docsProvider := func() map[string]interface{} { docs := make(map[string]interface{}) docs["types"] = DefaultTypes return docs } docshelper.AddDocProvider("media", docsProvider) }