[ https://issues.apache.org/jira/browse/FLINK-37311?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17927817#comment-17927817 ]
Jinkun Liu commented on FLINK-37311: ------------------------------------ I saw that Morais specified the Hugo version for macOS in FLINK-37176 . I’m not sure what I need to do now. Can I upgrade Hugo to the latest version and fix the doc generation problem in the latest Hugo? > 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)