mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-29 20:12:09 -05:00
13 lines
347 B
Go
13 lines
347 B
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)
|
|
}
|