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

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


The following commit(s) were added to refs/heads/master by this push:
     new 16734b81b [doc] Factor out flink version to docs config, bump it 
(#4108)
16734b81b is described below

commit 16734b81b55011542a78dcc91ffa030bfa186fe4
Author: Andrei Kaigorodov <[email protected]>
AuthorDate: Mon Sep 2 06:24:32 2024 +0200

    [doc] Factor out flink version to docs config, bump it (#4108)
---
 docs/config.toml                      | 3 +++
 docs/content/program-api/flink-api.md | 8 ++++----
 2 files changed, 7 insertions(+), 4 deletions(-)

diff --git a/docs/config.toml b/docs/config.toml
index f41e589b2..6f799b59d 100644
--- a/docs/config.toml
+++ b/docs/config.toml
@@ -43,6 +43,9 @@ pygmentsUseClasses = true
   # The branch for this version of Apache Paimon
   Branch = "master"
 
+  # The most recent supported Apache Flink version
+  FlinkVersion = "1.20"
+
   # The github repository for Apache Paimon
   Repo = "//github.com/apache/paimon"
 
diff --git a/docs/content/program-api/flink-api.md 
b/docs/content/program-api/flink-api.md
index c2c5cf77c..2472b6d09 100644
--- a/docs/content/program-api/flink-api.md
+++ b/docs/content/program-api/flink-api.md
@@ -41,21 +41,21 @@ Maven dependency:
 ```xml
 <dependency>
   <groupId>org.apache.paimon</groupId>
-  <artifactId>paimon-flink-1.17</artifactId>
+  <artifactId>paimon-flink-{{< param FlinkVersion >}}</artifactId>
   <version>{{< version >}}</version>
 </dependency>
 
 <dependency>
   <groupId>org.apache.flink</groupId>
   <artifactId>flink-table-api-java-bridge</artifactId>
-  <version>1.17.0</version>
+  <version>{{< param FlinkVersion >}}.0</version>
   <scope>provided</scope>
 </dependency>
 ```
 
 Or download the jar file:
-{{< stable >}}[Paimon 
Flink](https://repo.maven.apache.org/maven2/org/apache/paimon/paimon-flink-1.17/{{<
 version >}}/paimon-flink-1.17-{{< version >}}.jar).{{< /stable >}}
-{{< unstable >}}[Paimon 
Flink](https://repository.apache.org/snapshots/org/apache/paimon/paimon-flink-1.17/{{<
 version >}}/).{{< /unstable >}}
+{{< stable >}}[Paimon 
Flink](https://repo.maven.apache.org/maven2/org/apache/paimon/paimon-flink-{{< 
param FlinkVersion >}}/{{< version >}}/paimon-flink-{{< param FlinkVersion 
>}}-{{< version >}}.jar).{{< /stable >}}
+{{< unstable >}}[Paimon 
Flink](https://repository.apache.org/snapshots/org/apache/paimon/paimon-flink-{{<
 param FlinkVersion >}}/{{< version >}}/).{{< /unstable >}}
 
 Please choose your Flink version.
 

Reply via email to