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

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


The following commit(s) were added to refs/heads/release-1.15 by this push:
     new 0261b752cd0 [FLINK-27731][Documentation][Build] Remove Hugo Modules 
code for setting up documentation since Flink now uses git to retrieve 
externally hosted documentation instead of Hugo Modules
0261b752cd0 is described below

commit 0261b752cd02e731f0b3df530b7f8ab5b96fec8f
Author: Martijn Visser <martijnvis...@apache.org>
AuthorDate: Wed Dec 21 12:40:48 2022 +0100

    [FLINK-27731][Documentation][Build] Remove Hugo Modules code for setting up 
documentation since Flink now uses git to retrieve externally hosted 
documentation instead of Hugo Modules
    
    (cherry picked from commit 439fdbd093d9b2ea09481cf6a05559a826919c38)
---
 docs/setup_docs.sh | 12 ------------
 1 file changed, 12 deletions(-)

diff --git a/docs/setup_docs.sh b/docs/setup_docs.sh
index 083d4b6b771..b38e5f68212 100755
--- a/docs/setup_docs.sh
+++ b/docs/setup_docs.sh
@@ -23,18 +23,6 @@ if [[ "$HERE" != "docs" ]]; then
     exit 1;
 fi
 
-# Create a default go.mod file
-cat <<EOF >go.mod
-module github.com/apache/flink
-
-go 1.18
-EOF
-
-echo "Created temporary file" $goModFileLocation/go.mod
-
-# Make Hugo retrieve modules which are used for externally hosted documentation
-currentBranch=$(git rev-parse --abbrev-ref HEAD)
-
 function integrate_connector_docs {
   connector=$1
   ref=$2

Reply via email to