From 16734b81b55011542a78dcc91ffa030bfa186fe4 Mon Sep 17 00:00:00 2001 From: Andrei Kaigorodov Date: Mon, 2 Sep 2024 06:24:32 +0200 Subject: [PATCH] [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 f41e589b2890..6f799b59d91e 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 c2c5cf77c876..2472b6d09aa4 100644 --- a/docs/content/program-api/flink-api.md +++ b/docs/content/program-api/flink-api.md @@ -41,21 +41,21 @@ Maven dependency: ```xml org.apache.paimon - paimon-flink-1.17 + paimon-flink-{{< param FlinkVersion >}} {{< version >}} org.apache.flink flink-table-api-java-bridge - 1.17.0 + {{< param FlinkVersion >}}.0 provided ``` 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.