mirror of
https://github.com/gohugoio/hugo.git
synced 2026-08-24 15:28:54 +00:00
45c00b7c16
Closes #14936 Closes #14950 Closes #14965
24 lines
487 B
Go
24 lines
487 B
Go
package output
|
|
|
|
import (
|
|
|
|
// "fmt"
|
|
|
|
"github.com/gohugoio/hugo/docshelper"
|
|
)
|
|
|
|
// This is just a helper 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)
|
|
}
|