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

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


The following commit(s) were added to refs/heads/master by this push:
     new 439fdbd093d [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
439fdbd093d is described below

commit 439fdbd093d9b2ea09481cf6a05559a826919c38
Author: Martijn Visser <[email protected]>
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
---
 docs/README.md     |  1 -
 docs/setup_docs.sh | 12 ------------
 2 files changed, 13 deletions(-)

diff --git a/docs/README.md b/docs/README.md
index cafa70664b1..8a50b39474a 100644
--- a/docs/README.md
+++ b/docs/README.md
@@ -10,7 +10,6 @@ https://flink.apache.org/ is also generated from the files 
found here.
 
 The Flink documentation uses 
[Hugo](https://gohugo.io/getting-started/installing/) to generate HTML files.  
More specifically, it uses the *extended version* of Hugo with Sass/SCSS 
support. 
 
-As a pre-requisite, you need to have [Go](https://golang.org/doc/install) 
installed.
 To build the documentation, you can install Hugo locally or use a Docker 
image. 
 
 Both methods require you to execute commands in the directory of this module 
(`docs/`). The built site is served at http://localhost:1313/.
diff --git a/docs/setup_docs.sh b/docs/setup_docs.sh
index 46e295fde95..b0c48ba6883 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 {
   local connector ref additional_folders
   connector=$1

Reply via email to