aboutsummaryrefslogtreecommitdiffhomepage
path: root/media/docshelper.go
blob: de9dbe59912a841e0490c6fb2447104f2e4522c7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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)
}