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

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


The following commit(s) were added to refs/heads/asf-site by this push:
     new bad0cb17b [hotfix] Remove hard-coded Flink version, and provide 
correct documentation build instructions (#621)
bad0cb17b is described below

commit bad0cb17b0732570d5db49668cf8ffc9cb3cd0d2
Author: Jack <32422811+jck...@users.noreply.github.com>
AuthorDate: Tue Jun 27 03:42:03 2023 -0400

    [hotfix] Remove hard-coded Flink version, and provide correct documentation 
build instructions (#621)
---
 docs/content.zh/how-to-contribute/contribute-documentation.md     | 1 -
 docs/content/how-to-contribute/contribute-documentation.md        | 1 -
 .../posts/2020-02-03-a-guide-for-unit-testing-in-apache-flink.md  | 8 ++++----
 3 files changed, 4 insertions(+), 6 deletions(-)

diff --git a/docs/content.zh/how-to-contribute/contribute-documentation.md 
b/docs/content.zh/how-to-contribute/contribute-documentation.md
index 0f64e24cd..0ca8d0837 100644
--- a/docs/content.zh/how-to-contribute/contribute-documentation.md
+++ b/docs/content.zh/how-to-contribute/contribute-documentation.md
@@ -35,7 +35,6 @@ Flink 文档是用 
[Markdown](http://daringfireball.net/projects/markdown/) 编
 为了更新或扩展文档,你必须修改 Markdown (.md) 文件。请通过在预览模式下启动构建脚本来验证你的更改。
 
 ```
-cd docs
 ./build_docs.sh -p
 ```
 
diff --git a/docs/content/how-to-contribute/contribute-documentation.md 
b/docs/content/how-to-contribute/contribute-documentation.md
index b4410a5c0..5bfa22532 100644
--- a/docs/content/how-to-contribute/contribute-documentation.md
+++ b/docs/content/how-to-contribute/contribute-documentation.md
@@ -35,7 +35,6 @@ The Flink documentation is written in 
[Markdown](http://daringfireball.net/proje
 In order to update or extend the documentation you have to modify the Markdown 
(`.md`) files. Please verify your changes by starting the build script in 
preview mode.
 
 ```
-cd docs
 ./build_docs.sh -p
 ```
 
diff --git 
a/docs/content/posts/2020-02-03-a-guide-for-unit-testing-in-apache-flink.md 
b/docs/content/posts/2020-02-03-a-guide-for-unit-testing-in-apache-flink.md
index af1634652..02ca23c39 100644
--- a/docs/content/posts/2020-02-03-a-guide-for-unit-testing-in-apache-flink.md
+++ b/docs/content/posts/2020-02-03-a-guide-for-unit-testing-in-apache-flink.md
@@ -22,15 +22,15 @@ Apache Flink provides a robust unit testing framework to 
make sure your applicat
 </dependency> 
 <dependency>
   <groupId>org.apache.flink</groupId>
-  <artifactId>flink-runtime_2.11</artifactId>
-  <version>1.9.0</version>
+  <artifactId>flink-runtime_${scala.binary.version}</artifactId>
+  <version>${flink.version}</version>
   <scope>test</scope>
   <classifier>tests</classifier>
 </dependency>
 <dependency>
   <groupId>org.apache.flink</groupId>
-  <artifactId>flink-streaming-java_2.11</artifactId>
-  <version>1.9.0</version>
+  <artifactId>flink-streaming-java_${scala.binary.version}</artifactId>
+  <version>${flink.version}</version>
   <scope>test</scope>
   <classifier>tests</classifier>
 </dependency>

Reply via email to