[ https://issues.apache.org/jira/browse/FLINK-37311?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17926693#comment-17926693 ]
Gabor Somogyi commented on FLINK-37311: --------------------------------------- I'm doing it on mac where there is no install another version of hugo. The docker way works but that is not watching file changes which makes development hell complicated + using a one year old hugo version. All in all sooner or later we must jump hugo version no matter what. I've tried to bump hugo-book but the doc just fallen apart (see atached image). Since I'm not a UI guy I've not invested more time... > 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)