Make docshelper run again

Fixes #5568
This commit is contained in:
Bjørn Erik Pedersen 2018-12-27 10:08:44 +01:00
parent 214e9745b6
commit c24f3ae22b
No known key found for this signature in database
GPG key ID: 330E6E2BD4859D8F

View file

@ -17,6 +17,7 @@ import (
"github.com/gohugoio/hugo/common/loggers"
"github.com/gohugoio/hugo/deps"
"github.com/gohugoio/hugo/docshelper"
"github.com/gohugoio/hugo/htesting"
"github.com/gohugoio/hugo/tpl/internal"
"github.com/spf13/viper"
)
@ -29,6 +30,7 @@ func init() {
Cfg: viper.New(),
Log: loggers.NewErrorLogger(),
BuildStartListeners: &deps.Listeners{},
Site: htesting.NewTestHugoSite(),
}
var namespaces internal.TemplateFuncsNamespaces