Debian Codegraph @

output/docshelper.go

raw
1 package output
2
3 import (
4
5 // "fmt"
6
7 "github.com/gohugoio/hugo/docshelper"
8 )
9
10 // This is just a helper used to create some JSON used in the Hugo docs.
11 func init() {
12 docsProvider := func() docshelper.DocProvider {
13 return docshelper.DocProvider{
14 "output": map[string]any{
15 // TODO(bep), maybe revisit this later, but I hope this isn't needed.
16 // "layouts": createLayoutExamples(),
17 "layouts": map[string]any{},
18 },
19 }
20 }
21
22 docshelper.AddDocProviderFunc(docsProvider)
23 }