You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by tw...@apache.org on 2018/01/11 11:06:36 UTC
flink git commit: [FLINK-8412] [docs] Show outdated warning for 1.3
docs
Repository: flink
Updated Branches:
refs/heads/release-1.3 32fcc88c8 -> 0c1cdb2cc
[FLINK-8412] [docs] Show outdated warning for 1.3 docs
Project: http://git-wip-us.apache.org/repos/asf/flink/repo
Commit: http://git-wip-us.apache.org/repos/asf/flink/commit/0c1cdb2c
Tree: http://git-wip-us.apache.org/repos/asf/flink/tree/0c1cdb2c
Diff: http://git-wip-us.apache.org/repos/asf/flink/diff/0c1cdb2c
Branch: refs/heads/release-1.3
Commit: 0c1cdb2cc3e5becab9344c2b9b30cad14b62331a
Parents: 32fcc88
Author: twalthr <tw...@apache.org>
Authored: Thu Jan 11 12:05:40 2018 +0100
Committer: twalthr <tw...@apache.org>
Committed: Thu Jan 11 12:05:40 2018 +0100
----------------------------------------------------------------------
docs/_config.yml | 2 +-
docs/_layouts/base.html | 2 +-
docs/_layouts/plain.html | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flink/blob/0c1cdb2c/docs/_config.yml
----------------------------------------------------------------------
diff --git a/docs/_config.yml b/docs/_config.yml
index b9cc1c9..3a01cfe 100644
--- a/docs/_config.yml
+++ b/docs/_config.yml
@@ -47,7 +47,7 @@ download_url: "http://flink.apache.org/downloads.html"
is_stable: true
# Flag to indicate whether an outdated warning should be shown.
-show_outdated_warning: false
+show_outdated_warning: true
previous_docs:
1.3: http://ci.apache.org/projects/flink/flink-docs-release-1.3
http://git-wip-us.apache.org/repos/asf/flink/blob/0c1cdb2c/docs/_layouts/base.html
----------------------------------------------------------------------
diff --git a/docs/_layouts/base.html b/docs/_layouts/base.html
index 191f84d..1fb24df 100644
--- a/docs/_layouts/base.html
+++ b/docs/_layouts/base.html
@@ -56,7 +56,7 @@ under the License.
<body>
{% if site.show_outdated_warning %}
<div style="position:fixed; bottom:0; left:0; z-index:99999; width:100%; text-align:center; padding:15px; border-top:5px solid #ECCCD1; background:#F2DEDE; color:#AD433F; font-weight:bold">
- This documentation is for an out-of-date version of Apache Flink. We recommend you use <a href="https://flink.apache.org/q/stable-docs.html">the latest stable version</a>.
+ This documentation is for an out-of-date version of Apache Flink. We recommend you use <a href="https://ci.apache.org/projects/flink/flink-docs-stable/">the latest stable version</a>.
</div>
{% endif %}
http://git-wip-us.apache.org/repos/asf/flink/blob/0c1cdb2c/docs/_layouts/plain.html
----------------------------------------------------------------------
diff --git a/docs/_layouts/plain.html b/docs/_layouts/plain.html
index e991f78..8b0ded1 100644
--- a/docs/_layouts/plain.html
+++ b/docs/_layouts/plain.html
@@ -55,7 +55,7 @@ under the License.
<h1>{{ page.title }}{% if page.is_beta %} <span class="beta">Beta</span>{% endif %}</h1>
{% if site.show_outdated_warning %}
<div class="alert alert-danger" role="alert">
- <strong>This documentation is for an out-of-date version of Apache Flink. We recommend you use <a href="https://flink.apache.org/q/stable-docs.html">the latest stable version</a>.</strong>
+ <strong>This documentation is for an out-of-date version of Apache Flink. We recommend you use <a href="https://ci.apache.org/projects/flink/flink-docs-stable/">the latest stable version</a>.</strong>
</div>
{% endif %}