This is an automated email from the ASF dual-hosted git repository.

martijnvisser pushed a commit to branch release-1.20
in repository https://gitbox.apache.org/repos/asf/flink.git


The following commit(s) were added to refs/heads/release-1.20 by this push:
     new a960a1ded33 Revert "[FLINK-38945][docs] Bump Hugo to v0.124.1 to fix 
ref resolution for connector docs"
a960a1ded33 is described below

commit a960a1ded33f2dc1cf2d3dcb83bf01c3bdb7e450
Author: Martijn Visser <[email protected]>
AuthorDate: Wed Feb 11 08:31:57 2026 +0100

    Revert "[FLINK-38945][docs] Bump Hugo to v0.124.1 to fix ref resolution for 
connector docs"
    
    This reverts commit 5dd89f15e1b418f2ab04d0da4ec7e69e9354af80.
---
 docs/setup_hugo.sh | 21 +++------------------
 1 file changed, 3 insertions(+), 18 deletions(-)

diff --git a/docs/setup_hugo.sh b/docs/setup_hugo.sh
index b9eb37b8368..5f3fa290284 100644
--- a/docs/setup_hugo.sh
+++ b/docs/setup_hugo.sh
@@ -18,25 +18,10 @@
 
################################################################################
 
 # setup hugo
-
-# Detect Operating System
-OS="Linux"
-[[ "$OSTYPE" == "darwin"* ]] && OS="Mac"
-
-# Setup Hugo based on OS
-if [ "$OS" = "Mac" ]; then
-    HUGO_ARTIFACT="hugo_extended_0.124.1_darwin-universal.tar.gz"
-else
-    HUGO_ARTIFACT="hugo_extended_0.124.1_Linux-64bit.tar.gz"
-fi
-
-HUGO_REPO="https://github.com/gohugoio/hugo/releases/download/v0.124.1/${HUGO_ARTIFACT}";
+HUGO_REPO=https://github.com/gohugoio/hugo/releases/download/v0.110.0/hugo_extended_0.110.0_Linux-64bit.tar.gz
+HUGO_ARTIFACT=hugo_extended_0.110.0_Linux-64bit.tar.gz
 if ! curl --fail -OL $HUGO_REPO ; then
        echo "Failed to download Hugo binary"
        exit 1
 fi
-if [ "$OS" = "Mac" ]; then
-    tar -zxvf $HUGO_ARTIFACT -C /usr/local/bin --include='hugo'
-else
-    tar -zxvf $HUGO_ARTIFACT -C /usr/local/bin --wildcards --no-anchored 'hugo'
-fi
+tar -zxvf $HUGO_ARTIFACT -C /usr/local/bin

Reply via email to