google / docsy

A set of Hugo doc templates for launching open source content.
https://docsy.dev
Apache License 2.0
2.55k stars 888 forks source link

Dependency build error for Hugo Site #1399

Open alogishetty opened 1 year ago

alogishetty commented 1 year ago

I am trying to get Hugo site built but I am getting below error for Docsy dependency

Error: add site dependencies: load resources: loading templates: "/tmp/hugo_cache/modules/filecache/modules/pkg/mod/github.com/google/docsy@v0.4.0/layouts/shortcodes/readfile.html:27:1": parse failed: template: shortcodes/readfile.html:27: unexpected unclosed action in parenthesized pipeline

deining commented 1 year ago

I found this topic on the hugo discourse board, which looks very similar. There is also a solution given. Is this helpful for you? Is your repo publicly available? If so, can you share it with us?

deining commented 1 year ago

Looks like to tried ro read in a file with the readfile shortcode. Would you mind sharing that file with us? Most likely, there is some kind of error inside the file to try to include.