docsy-example
docsy-example copied to clipboard
Error: from config: failed to resolve output format "print" from site config
I have added docsy theme to my hugo site while running the below command hugo serve -D
I am getting below error : Error: from config: failed to resolve output format "print" from site config
Just remove the "print"
in the following section of config.toml
:
# Comment out if you don't want the "print entire section" link enabled.
[outputs]
section = ["HTML", "print", "RSS"]
I had the same error. When I followed the advise above I got the following error:
shortcode: template for shortcode "blocks/cover" not found
When using the provided compose file everything works fine. Investigating my local env installed with brew:
hugo version
hugo v0.97.3+extended darwin/amd64 BuildDate=unknown
Check if all submodules are in place
git submodule update --init --recursive
@mcsage I'm having the same issue but I've already switched to the hugo module instead of git submodules. (more info in the linked comment) The only thing I see consistent about the issues is that it's happening in Mac builds but not linux.
Same issue here (using hugo module
and not submodules.
Strange because it worked some days ago.
- I need to remove the
print
format. - Then I can
hugo mod get -u
and the "block/cover" problem is no more.
-
hugo
v0.100.2 - Stock
docsy-example
latest from April 7 2022 - Using hugo module
$ hugo mod graph
github.com/google/docsy-example github.com/google/[email protected]
github.com/google/docsy-example github.com/google/docsy/[email protected]
github.com/google/docsy/[email protected] github.com/twbs/[email protected]+incompatible
github.com/google/docsy/[email protected] github.com/FortAwesome/[email protected]
This seems to be some kind of cache issue (it's cropped up a few times) - looks like @ivan3bx has come up with a workaround here for those who aren't on the duplicate bug in the theme repo: https://github.com/google/docsy/issues/805