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

lindong pushed a commit to branch release-2.0
in repository https://gitbox.apache.org/repos/asf/flink-ml.git


The following commit(s) were added to refs/heads/release-2.0 by this push:
     new f636072  [hotfix] Fix version and branch info of docs in release 2.0
f636072 is described below

commit f636072f62c39a92ef71e54941ff9947baf6ed6e
Author: yunfengzhou-hub <yuri.zhouyunf...@outlook.com>
AuthorDate: Thu Feb 17 11:20:12 2022 +0800

    [hotfix] Fix version and branch info of docs in release 2.0
    
    This closes #59.
---
 docs/config.toml       | 7 ++++---
 docs/content/_index.md | 2 +-
 2 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/docs/config.toml b/docs/config.toml
index 1391a0b..4c41179 100644
--- a/docs/config.toml
+++ b/docs/config.toml
@@ -14,7 +14,7 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-baseURL = '//nightlies.apache.org/flink/flink-ml-docs-master'
+baseURL = '//nightlies.apache.org/flink/flink-ml-docs-release-2.0'
 languageCode = 'en-us'
 title = 'Apache Flink Machine Learning Library'
 enableGitInfo = false
@@ -38,10 +38,10 @@ pygmentsUseClasses = true
 
   # 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.0"
+  VersionTitle = "2.0"
 
   # The branch for this version of Apache Flink Machine Learning Library
-  Branch = "master"
+  Branch = "release-2.0"
 
   # The github repository for Apache Flink Machine Learning Library
   Repo = "//github.com/apache/flink-ml"
@@ -57,6 +57,7 @@ pygmentsUseClasses = true
   # of the menu
   MenuLinks = [
     ["Project Homepage", "//flink.apache.org"],
+    ["JavaDocs", 
"//nightlies.apache.org/flink/flink-ml-docs-release-2.0/api/java/"],
   ]
 
   PreviousDocs = []
diff --git a/docs/content/_index.md b/docs/content/_index.md
index e31794d..9b76115 100644
--- a/docs/content/_index.md
+++ b/docs/content/_index.md
@@ -33,7 +33,7 @@ build ML pipelines for both training and inference jobs.
 ## Try Flink ML
 
 If you’re interested in playing around with Flink ML, check out our [example
-codes](({{< ref "docs/try-flink-ml/quick-start" >}})). It provides a step by
+codes]({{< ref "docs/try-flink-ml/quick-start" >}}). It provides a step by
 step introduction to the APIs and guides you through real applications.
 
 <--->

Reply via email to