Welcome to mirror list, hosted at ThFree Co, Russian Federation.

docshelper.go « media - github.com/gohugoio/hugo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: d37c08eb3074ca69e4e8fe636b0d12d3faf0df54 (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]any{"types": DefaultTypes}}
	}
	docshelper.AddDocProviderFunc(docsProvider)
}