[ https://issues.apache.org/jira/browse/FLINK-37311?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17926641#comment-17926641 ]
Mingcan Wang commented on FLINK-37311: -------------------------------------- If you are going to build docs on linux, you can follow README to setup hugo with version 0.110.0 and setup docs. If you are going to build docs on macos,Maybe you will install the lastest version of hugo such as using Homebrew, hugo-book submodule needs to be updated.Or you just install using Hugo Docker image to chose 0.110.0. So I think this is not necessary? > 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 > > 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)