Re: Error compiling FreeBSD documentation using hugo 0.111.3

From: Sergio Carlavilla <carlavilla_at_freebsd.org>
Date: Sun, 19 Mar 2023 08:41:07 UTC
On Sun, 19 Mar 2023 at 07:37, Gabriel Dutra <0xdutra@gmail.com> wrote:
>
> Hi,
>
> I'm the maintainer of the hugo, I'm trying to update hugo port to 0.111.3 but I get an error compiling FreeBSD documentation. How to proceed in these cases, I hope they fix it or can I update the port?
>
> Error log
> --------
>
> ERROR 2023/03/19 03:20:20 render of "page" failed: "/root/doc/documentation/themes/beastie/layouts/books/single.html:10:11": execute of template failed: template: books/single.html:10:11: executing "main" at <partial "menu" .>: error calling partial: partial "menu" timed out after 30s. This is most likely due to infinite recursion. If this is just a slow template, you can try to increase the 'timeout' config setting.
> ERROR 2023/03/19 03:20:20 render of "page" failed: "/root/doc/documentation/themes/beastie/layouts/books/single.html:10:11": execute of template failed: template: books/single.html:10:11: executing "main" at <partial "menu" .>: error calling partial: partial "menu" timed out after 30s. This is most likely due to infinite recursion. If this is just a slow template, you can try to increase the 'timeout' config setting.
> Error: Error building site: failed to render pages: render of "page" failed: "/root/doc/documentation/themes/beastie/layouts/books/single.html:10:11": execute of template failed: template: books/single.html:10:11: executing "main" at <partial "menu" .>: error calling partial: partial "menu" timed out after 30s. This is most likely due to infinite recursion. If this is just a slow template, you can try to increase the 'timeout' config setting.

Hi,

Try with:

make run DOC_LANG=en,ko