mirror of
https://github.com/gohugoio/hugo.git
synced 2024-05-11 05:54:58 +00:00
Fix the docs helper tool
This commit is contained in:
@ -17,13 +17,14 @@ import (
|
||||
"github.com/gohugoio/hugo/deps"
|
||||
"github.com/gohugoio/hugo/docshelper"
|
||||
"github.com/gohugoio/hugo/tpl/internal"
|
||||
"github.com/spf13/viper"
|
||||
)
|
||||
|
||||
// This file provides documentation support and is randomly put into this package.
|
||||
func init() {
|
||||
docsProvider := func() map[string]interface{} {
|
||||
docs := make(map[string]interface{})
|
||||
d := &deps.Deps{}
|
||||
d := &deps.Deps{Cfg: viper.New()}
|
||||
|
||||
var namespaces internal.TemplateFuncsNamespaces
|
||||
|
||||
|
Reference in New Issue
Block a user