You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by tz...@apache.org on 2020/03/26 14:21:14 UTC

[flink-statefun] 02/14: [FLINK-16758][docs] Update configurations for statefun repo

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

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

commit 97f7ffad40224e900ab08ffc8efa6d99547c40ef
Author: Seth Wiesman <sj...@gmail.com>
AuthorDate: Tue Mar 24 09:22:43 2020 -0500

    [FLINK-16758][docs] Update configurations for statefun repo
---
 docs/_config.yml            | 26 +++++++-------------------
 docs/_includes/sidenav.html |  2 --
 2 files changed, 7 insertions(+), 21 deletions(-)

diff --git a/docs/_config.yml b/docs/_config.yml
index 7d4dc7b..bc4177f 100644
--- a/docs/_config.yml
+++ b/docs/_config.yml
@@ -27,10 +27,10 @@
 # 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: "1.11-SNAPSHOT"
+version: "2.0-SNAPSHOT"
 # For stable releases, leave the bugfix version out (e.g. 1.2). For snapshot
 # release this should be the same as the regular version
-version_title: "1.11-SNAPSHOT"
+version_title: "2.0-SNAPSHOT"
 # Branch on Github for this version
 github_branch: "master"
 
@@ -47,15 +47,14 @@ shaded_version: "8.0"
 # during incubator; by now it should also be fine to hardcode these.)
 website_url: "https://flink.apache.org"
 jira_url: "https://issues.apache.org/jira/browse/FLINK"
-github_url: "https://github.com/apache/flink"
+github_url: "https://github.com/apache/flink-statefun"
 download_url: "https://flink.apache.org/downloads.html"
 
 # please use a protocol relative URL here
-baseurl: //ci.apache.org/projects/flink/flink-docs-master
-stable_baseurl: //ci.apache.org/projects/flink/flink-docs-stable
+baseurl: //ci.apache.org/projects/flink/flink-statefun-docs-master
+stable_baseurl: //ci.apache.org/projects/flink/flink-statefun-docs-stable
 
-javadocs_baseurl: //ci.apache.org/projects/flink/flink-docs-master
-pythondocs_baseurl: //ci.apache.org/projects/flink/flink-docs-master
+javadocs_baseurl: //ci.apache.org/projects/flink/flink-statefun-docs-master/
 
 # Flag whether this is a stable version or not. Used for the quickstart page.
 is_stable: false
@@ -64,17 +63,6 @@ is_stable: false
 show_outdated_warning: false
 
 previous_docs:
-  1.10: http://ci.apache.org/projects/flink/flink-docs-release-1.10
-  1.9: http://ci.apache.org/projects/flink/flink-docs-release-1.9
-  1.8: http://ci.apache.org/projects/flink/flink-docs-release-1.8
-  1.7: http://ci.apache.org/projects/flink/flink-docs-release-1.7
-  1.6: http://ci.apache.org/projects/flink/flink-docs-release-1.6
-  1.5: http://ci.apache.org/projects/flink/flink-docs-release-1.5
-  1.4: http://ci.apache.org/projects/flink/flink-docs-release-1.4
-  1.3: http://ci.apache.org/projects/flink/flink-docs-release-1.3
-  1.2: http://ci.apache.org/projects/flink/flink-docs-release-1.2
-  1.1: http://ci.apache.org/projects/flink/flink-docs-release-1.1
-  1.0: http://ci.apache.org/projects/flink/flink-docs-release-1.0
 
 #------------------------------------------------------------------------------
 # BUILD CONFIG
@@ -105,6 +93,6 @@ kramdown:
   toc_levels: 1..3 # Include h1-h3 for ToC
 
 # The all languages used
-languages: ['en', 'zh']
+languages: ['en']
 
 plugins: ['jekyll-paginate', 'jekyll-multiple-languages']
diff --git a/docs/_includes/sidenav.html b/docs/_includes/sidenav.html
index 8686566..4697a9f 100644
--- a/docs/_includes/sidenav.html
+++ b/docs/_includes/sidenav.html
@@ -141,7 +141,6 @@ level is determined by 'nav-pos'.
 {%- endfor %}
   <li class="divider"></li>
   <li><a href="{{ site.javadocs_baseurl }}/api/java"><i class="fa fa-external-link title" aria-hidden="true"></i> Javadocs</a></li>
-  <li><a href="{{ site.pythondocs_baseurl }}/api/python"><i class="fa fa-external-link title" aria-hidden="true"></i> Pythondocs</a></li>
   <li><a href="http://flink.apache.org"><i class="fa fa-external-link title" aria-hidden="true"></i> Project Page</a></li>
 </ul>
 
@@ -174,7 +173,6 @@ level is determined by 'nav-pos'.
 <!--
 <div class="sidenav-languages">
   {%- if page.is_default_language -%}
-    <!-- link to the Chinese home page when current is blog page -->
     <a href="{{ site.baseurl }}/zh{{ page.url }}">
       <button type="submit" class="btn btn-default">中文版</button>
     </a>