mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-21 20:46:30 -05:00
Fix the docs helper tool
This commit is contained in:
parent
9436f0b0c3
commit
c31e083ead
1 changed files with 2 additions and 1 deletions
|
@ -17,13 +17,14 @@ import (
|
||||||
"github.com/gohugoio/hugo/deps"
|
"github.com/gohugoio/hugo/deps"
|
||||||
"github.com/gohugoio/hugo/docshelper"
|
"github.com/gohugoio/hugo/docshelper"
|
||||||
"github.com/gohugoio/hugo/tpl/internal"
|
"github.com/gohugoio/hugo/tpl/internal"
|
||||||
|
"github.com/spf13/viper"
|
||||||
)
|
)
|
||||||
|
|
||||||
// This file provides documentation support and is randomly put into this package.
|
// This file provides documentation support and is randomly put into this package.
|
||||||
func init() {
|
func init() {
|
||||||
docsProvider := func() map[string]interface{} {
|
docsProvider := func() map[string]interface{} {
|
||||||
docs := make(map[string]interface{})
|
docs := make(map[string]interface{})
|
||||||
d := &deps.Deps{}
|
d := &deps.Deps{Cfg: viper.New()}
|
||||||
|
|
||||||
var namespaces internal.TemplateFuncsNamespaces
|
var namespaces internal.TemplateFuncsNamespaces
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue