You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by mj...@apache.org on 2015/11/09 11:19:08 UTC

flink git commit: [FLINK-2752] Documentation is not easily differentiable from the Flink homepage - added auto-redirect for coding_guidelines and how_to_contribute pages (to keep external links working) - updated menu links to point directly to coding_

Repository: flink
Updated Branches:
  refs/heads/master 044fe5fd9 -> c60754956


[FLINK-2752] Documentation is not easily differentiable from the Flink homepage
 - added auto-redirect for coding_guidelines and how_to_contribute pages (to keep external links working)
 - updated menu links to point directly to coding_guidelines and how_to_contribute on Flink project page
(only improvement on FLINK-2752; does not resolve it)

This closes #1320


Project: http://git-wip-us.apache.org/repos/asf/flink/repo
Commit: http://git-wip-us.apache.org/repos/asf/flink/commit/c6075495
Tree: http://git-wip-us.apache.org/repos/asf/flink/tree/c6075495
Diff: http://git-wip-us.apache.org/repos/asf/flink/diff/c6075495

Branch: refs/heads/master
Commit: c6075495666637894d3a3ffc0cdc4aad088b2ef8
Parents: 044fe5f
Author: mjsax <mj...@apache.org>
Authored: Thu Nov 5 17:35:06 2015 +0100
Committer: mjsax <mj...@apache.org>
Committed: Mon Nov 9 11:17:26 2015 +0100

----------------------------------------------------------------------
 docs/_includes/navbar.html          | 8 ++++----
 docs/internals/coding_guidelines.md | 4 +++-
 docs/internals/how_to_contribute.md | 4 +++-
 3 files changed, 10 insertions(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flink/blob/c6075495/docs/_includes/navbar.html
----------------------------------------------------------------------
diff --git a/docs/_includes/navbar.html b/docs/_includes/navbar.html
index d39b330..278f5ab 100644
--- a/docs/_includes/navbar.html
+++ b/docs/_includes/navbar.html
@@ -39,7 +39,7 @@ under the License.
         <!-- The navigation links. -->
         <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
           <ul class="nav navbar-nav">
-            <li{% if page.url == '/index.html' %} class="active"{% endif %}><a href="{{ site.baseurl}}/index.html">Overview<span class="hidden-sm hidden-xs"> {{ site.version_short }}</span></a></li>
+            <li{% if page.url == '/' %} class="active"{% endif %}><a href="{{ site.baseurl}}/">Documentation<span class="hidden-sm hidden-xs"> {{ site.version_short }}</span></a></li>
 
             <!-- Quickstart -->
             <li class="dropdown{% if page.url contains '/quickstart/' %} active{% endif %}">
@@ -113,8 +113,8 @@ under the License.
               <a href="{{ internals }}" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">Internals <span class="caret"></span></a>
               <ul class="dropdown-menu" role="menu">
                 <li role="presentation" class="dropdown-header"><strong>Contribute</strong></li>
-                <li><a href="{{ internals }}/how_to_contribute.html">How to Contribute</a></li>
-                <li><a href="{{ internals }}/coding_guidelines.html">Coding Guidelines</a></li>
+                <li><a href="http://flink.apache.org/how-to-contribute.html"><small><span class="glyphicon glyphicon-new-window"></span></small> How to Contribute</a></li>
+                <li><a href="http://flink.apache.org/contribute-code.html#coding-guidelines"><small><span class="glyphicon glyphicon-new-window"></span></small> Coding Guidelines</a></li>
                 <li><a href="{{ internals }}/ide_setup.html">IDE Setup</a></li>
                 <li><a href="{{ internals }}/logging.html">Logging</a></li>
                 <li class="divider"></li>
@@ -130,7 +130,7 @@ under the License.
           </ul>
           <form class="navbar-form navbar-right hidden-sm hidden-md" role="search" action="{{site.baseurl}}/search-results.html">
             <div class="form-group">
-              <input type="text" class="form-control" name="q" placeholder="Search all pages">
+              <input type="text" class="form-control" size="16px" name="q" placeholder="Search all pages">
             </div>
             <button type="submit" class="btn btn-default">Search</button>
           </form>

http://git-wip-us.apache.org/repos/asf/flink/blob/c6075495/docs/internals/coding_guidelines.md
----------------------------------------------------------------------
diff --git a/docs/internals/coding_guidelines.md b/docs/internals/coding_guidelines.md
index fcc81ef..c5fd057 100644
--- a/docs/internals/coding_guidelines.md
+++ b/docs/internals/coding_guidelines.md
@@ -20,4 +20,6 @@ specific language governing permissions and limitations
 under the License.
 -->
 
-The *Coding Guidelines* are located [on the project website](http://flink.apache.org/contribute-code.html#coding-guidelines).
+<meta http-equiv="refresh" content="5; url=http://flink.apache.org/contribute-code.html#coding-guidelines" />
+
+The *Coding Guidelines* are located [on the project website](http://flink.apache.org/contribute-code.html#coding-guidelines) (auto redirect in 5 seconds).

http://git-wip-us.apache.org/repos/asf/flink/blob/c6075495/docs/internals/how_to_contribute.md
----------------------------------------------------------------------
diff --git a/docs/internals/how_to_contribute.md b/docs/internals/how_to_contribute.md
index 1b881be..678e847 100644
--- a/docs/internals/how_to_contribute.md
+++ b/docs/internals/how_to_contribute.md
@@ -20,4 +20,6 @@ specific language governing permissions and limitations
 under the License.
 -->
 
-The *How to Contribute* guide is located [on the project website](http://flink.apache.org/how-to-contribute.html).
\ No newline at end of file
+<meta http-equiv="refresh" content="5; url=http://flink.apache.org/how-to-contribute.html" />
+
+The *How to Contribute* guide is located [on the project website](http://flink.apache.org/how-to-contribute.html) (auto redirect in 5 seconds).