ref: ee090c0940cdbf636e3a55a40b41612d92b9c62d
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() docshelper.DocProvider { return docshelper.DocProvider{"media": map[string]interface{}{"types": DefaultTypes}} } docshelper.AddDocProviderFunc(docsProvider) }