[
https://issues.apache.org/jira/browse/FLINK-37311?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17927524#comment-17927524
]
Jinkun Liu edited comment on FLINK-37311 at 2/16/25 3:23 PM:
-------------------------------------------------------------
Hi [~gaborgsomogyi]
I encountered same problem when i want to download hugo through brew on
Macos. However, I managed to solve the problem by downloading it directly from
the [hugo release|https://github.com/gohugoio/hugo/releases] on Github. I think
this might help you as well.
Besides ,I think this problem is easy to solve,If the discussion
concludes that a fix is necessary, you can assign this issue to me. I’d be
happy to help!
was (Author: JIRAUSER308530):
Hi [~gaborgsomogyi]
I encountered same problem when i want to download hugo through brew on
Macos. However, I managed to solve the problem by downloading it directly from
the [hugo release|https://github.com/gohugoio/hugo/releases] on Github. I think
this might help you as well.
> Fix doc generation issues with new version of hugo
> --------------------------------------------------
>
> Key: FLINK-37311
> URL: https://issues.apache.org/jira/browse/FLINK-37311
> Project: Flink
> Issue Type: Bug
> Components: Documentation
> Affects Versions: 2.0-preview
> Reporter: Gabor Somogyi
> Priority: Major
> Attachments: Screenshot 2025-02-13 at 8.26.55.png
>
>
> The latest version of hugo (v0.142.0) throws the following errors:
> {code:java}
> $ ./build_docs.sh
> ...
> ERROR render of
> "/Users/gaborsomogyi/flink/docs/content/docs/concepts/_index.md" failed:
> "/Users/gaborsomogyi/flink/docs/layouts/_default/baseof.html:24:5": execute
> of template failed: template: _default/list.html:24:5: executing
> "_default/list.html" at <partial "docs/html-head" .>: error calling partial:
> execute of template failed: html/template:partials/docs/html-head.html:33:13:
> no such template "_internal/google_analytics_async.html"
> ...
> ERROR deprecated: resources.ToCSS was deprecated in Hugo v0.128.0 and will be
> removed in Hugo 0.143.0. Use css.Sass instead.
> {code}
> hugo-book submodule must be updated.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)