2017-04-05 16:18:53 +02:00
|
|
|
package output
|
|
|
|
|
|
|
|
import (
|
|
|
|
|
2018-01-18 10:16:21 +01:00
|
|
|
// "fmt"
|
2017-04-05 16:18:53 +02:00
|
|
|
|
2017-06-13 18:42:45 +02:00
|
|
|
"github.com/gohugoio/hugo/docshelper"
|
2017-04-05 16:18:53 +02:00
|
|
|
)
|
|
|
|
|
|
|
|
// This is is just some helpers used to create some JSON used in the Hugo docs.
|
|
|
|
func init() {
|
2020-03-20 16:34:53 +01:00
|
|
|
docsProvider := func() docshelper.DocProvider {
|
|
|
|
return docshelper.DocProvider{
|
2022-03-17 22:03:27 +01:00
|
|
|
"output": map[string]any{
|
2025-04-06 19:55:35 +02:00
|
|
|
// TODO(bep), maybe revisit this later, but I hope this isn't needed.
|
|
|
|
// "layouts": createLayoutExamples(),
|
|
|
|
"layouts": map[string]any{},
|
2020-03-20 16:34:53 +01:00
|
|
|
},
|
|
|
|
}
|
2017-04-05 16:18:53 +02:00
|
|
|
}
|
|
|
|
|
2020-03-20 16:34:53 +01:00
|
|
|
docshelper.AddDocProviderFunc(docsProvider)
|
2017-04-05 16:18:53 +02:00
|
|
|
}
|