Nephio is a Kubernetes-based automation platform for deploying and managing highly distributed, interconnected workloads such as 5G Network Functions, and the underlying infrastructure on which those workloads depend.
The hugo serve command does not wirk with the version of docsy we are using:
hugo serve
Watching for changes in /Users/liam/git/github/nephio-project/nephio-docs/{assets,content,layouts,package.json,postcss.config.js,static}
Watching for config changes in /Users/liam/git/github/nephio-project/nephio-docs/config.toml, /Users/liam/git/github/nephio-project/nephio-docs/go.mod
Start building sites …
hugo v0.127.0+extended darwin/arm64 BuildDate=2024-06-05T10:27:59Z VendorInfo=brew
ERROR render of "section" failed: "/Users/liam/Library/Caches/hugo_cache/modules/filecache/modules/pkg/mod/github.com/google/docsy@v0.7.1/layouts/docs/baseof.html:4:7": execute of template failed: template: docs/list.html:4:7: executing "docs/list.html" at <partial "head.html" .>: error calling partial: execute of template failed: html/template:partials/head.html:52:16: no such template "_internal/google_analytics_async.html"
ERROR render of "page" failed: "/Users/liam/Library/Caches/hugo_cache/modules/filecache/modules/pkg/mod/github.com/google/docsy@v0.7.1/layouts/docs/baseof.html:4:7": execute of template failed: template: docs/single.html:4:7: executing "docs/single.html" at <partial "head.html" .>: error calling partial: execute of template failed: html/template:partials/head.html:52:16: no such template "_internal/google_analytics_async.html"
Built in 22 ms
Error: error building site: render: failed to render pages: render of "404" failed: "/Users/liam/Library/Caches/hugo_cache/modules/filecache/modules/pkg/mod/github.com/google/docsy@v0.7.1/layouts/_default/baseof.html:4:7": execute of template failed: template: 404.html:4:7: executing "404.html" at <partial "head.html" .>: error calling partial: execute of template failed: html/template:partials/head.html:52:16: no such template "_internal/google_analytics_async.html"
The hugo serve command does not wirk with the version of docsy we are using:
The issue is known, see https://github.com/google/docsy/issues/1932
We need to upgrade to docsy 0.10.0