This is an automated email from the ASF dual-hosted git repository.
hxb 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 e6b5755d0ac [FLINK-30169][python][doc] Adds switcher.json file
e6b5755d0ac is described below
commit e6b5755d0ac7dec494506951aeab41872b4a0412
Author: huangxingbo <[email protected]>
AuthorDate: Thu Nov 24 10:03:08 2022 +0800
[FLINK-30169][python][doc] Adds switcher.json file
This closes #21380.
---
flink-python/docs/_static/switcher.json | 17 +++++++++++++++++
pom.xml | 1 +
2 files changed, 18 insertions(+)
diff --git a/flink-python/docs/_static/switcher.json
b/flink-python/docs/_static/switcher.json
new file mode 100644
index 00000000000..3a57b584c11
--- /dev/null
+++ b/flink-python/docs/_static/switcher.json
@@ -0,0 +1,17 @@
+[
+ {
+ "name": "dev",
+ "version": "master",
+ "url": "https://nightlies.apache.org/flink/flink-docs-master/api/python"
+ },
+ {
+ "name": "1.16 (stable)",
+ "version": "release-1.16",
+ "url":
"https://nightlies.apache.org/flink/flink-docs-release-1.16/api/python/"
+ },
+ {
+ "name": "1.15",
+ "version": "release-1.15",
+ "url":
"https://nightlies.apache.org/flink/flink-docs-release-1.15/api/python/"
+ }
+]
diff --git a/pom.xml b/pom.xml
index 5ef4002a1aa..ffee13f96fd 100644
--- a/pom.xml
+++ b/pom.xml
@@ -1572,6 +1572,7 @@ under the License.
<exclude>flink-python/lib/**</exclude>
<exclude>flink-python/dev/download/**</exclude>
<exclude>flink-python/docs/_build/**</exclude>
+
<exclude>flink-python/docs/_static/switcher.json</exclude>
<!-- AWS SDK config that does
not support license headers -->
<exclude>**/awssdk/global/handlers/execution.interceptors</exclude>