Skip to content

Commit

Permalink
Update for 2.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
reswqa committed Jan 20, 2025
1 parent dccb782 commit 12596c7
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 10 deletions.
19 changes: 10 additions & 9 deletions docs/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

baseURL = '//nightlies.apache.org/flink/flink-docs-master'
baseURL = '//nightlies.apache.org/flink/flink-docs-release-2.0'
languageCode = "en-us"
title = "Apache Flink"
enableGitInfo = false
Expand All @@ -24,7 +24,7 @@ pygmentsUseClasses = true
[params]
# Flag whether this is a stable version or not.
# Used for the quickstart page.
IsStable = false
IsStable = true

# Flag to indicate whether an outdated warning should be shown.
ShowOutDatedWarning = false
Expand All @@ -34,14 +34,14 @@ pygmentsUseClasses = true
# we change the version for the complete docs when forking of a release branch
# etc.
# The full version string as referenced in Maven (e.g. 1.2.1)
Version = "2.0-SNAPSHOT"
Version = "2.0.0"

# For stable releases, leave the bugfix version out (e.g. 1.2). For snapshot
# release this should be the same as the regular version
VersionTitle = "2.0-SNAPSHOT"
VersionTitle = "2.0"

# The branch for this version of Apache Flink
Branch = "master"
Branch = "release-2.0"

# The github repository for Apache Flink
Repo = "//github.com/apache/flink"
Expand All @@ -60,19 +60,20 @@ pygmentsUseClasses = true

ZhDownloadPage = "//flink.apache.org/zh/downloads.html"

JavaDocs = "//nightlies.apache.org/flink/flink-docs-master/api/java/"
JavaDocs = "//nightlies.apache.org/flink/flink-docs-release-2.0/api/java/"

PyDocs = "//nightlies.apache.org/flink/flink-docs-master/api/python/"
PyDocs = "//nightlies.apache.org/flink/flink-docs-release-2.0/api/python/"

# External links at the bottom
# of the menu
MenuLinks = [
["Project Homepage", "//flink.apache.org"],
["JavaDocs", "//nightlies.apache.org/flink/flink-docs-master/api/java/"],
["PyDocs", "//nightlies.apache.org/flink/flink-docs-master/api/python/"]
["JavaDocs", "//nightlies.apache.org/flink/flink-docs-release-2.0/api/java/"],
["PyDocs", "//nightlies.apache.org/flink/flink-docs-release-2.0/api/python/"]
]

PreviousDocs = [
["2.0", "http://nightlies.apache.org/flink/flink-docs-release-2.0"],
["1.20", "http://nightlies.apache.org/flink/flink-docs-release-1.20"],
["1.19", "http://nightlies.apache.org/flink/flink-docs-release-1.19"],
["1.18", "http://nightlies.apache.org/flink/flink-docs-release-1.18"],
Expand Down
2 changes: 1 addition & 1 deletion flink-end-to-end-tests/test-scripts/common_docker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ function build_image() {
local server_pid=$!

echo "Preparing Dockerfiles"
retry_times_with_exponential_backoff 5 git clone https://github.com/apache/flink-docker.git --branch dev-master --single-branch
retry_times_with_exponential_backoff 5 git clone https://github.com/apache/flink-docker.git --branch dev-2.0 --single-branch

local java_version=17
if [[ ${PROFILE} == *"jdk17"* ]]; then
Expand Down

0 comments on commit 12596c7

Please sign in to comment.