mirror of https://github.com/gohugoio/hugo
24 lines
494 B
Go
24 lines
494 B
Go
package output
|
|
|
|
import (
|
|
|
|
// "fmt"
|
|
|
|
"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{
|
|
"output": map[string]any{
|
|
// TODO(bep), maybe revisit this later, but I hope this isn't needed.
|
|
// "layouts": createLayoutExamples(),
|
|
"layouts": map[string]any{},
|
|
},
|
|
}
|
|
}
|
|
|
|
docshelper.AddDocProviderFunc(docsProvider)
|
|
}
|