You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@calcite.apache.org by mm...@apache.org on 2017/11/14 00:34:26 UTC

calcite git commit: [CALCITE-2036] Fix "next" link on powered_by.html

Repository: calcite
Updated Branches:
  refs/heads/master 20eee6313 -> 830801b6e


[CALCITE-2036] Fix "next" link on powered_by.html


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

Branch: refs/heads/master
Commit: 830801b6e9fabc9203e3b2094b9fd0640a3ab8c6
Parents: 20eee63
Author: Michael Mior <mm...@uwaterloo.ca>
Authored: Mon Nov 13 19:32:54 2017 -0500
Committer: Michael Mior <mm...@uwaterloo.ca>
Committed: Mon Nov 13 19:34:08 2017 -0500

----------------------------------------------------------------------
 site/_includes/section_nav.html | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/calcite/blob/830801b6/site/_includes/section_nav.html
----------------------------------------------------------------------
diff --git a/site/_includes/section_nav.html b/site/_includes/section_nav.html
index b025a70..e154275 100644
--- a/site/_includes/section_nav.html
+++ b/site/_includes/section_nav.html
@@ -29,7 +29,11 @@ next, lets build a link to it.
           {% else %}
             {% assign next = forloop.index0 | plus: 1 %}
             {% capture next_page %}{{ site.baseurl }}{{ docs[next] | prepend:"/docs/" | append:".html" }}{% endcapture %}
-            <a href="{{ next_page }}" class="next">Next</a>
+
+            {% comment %}
+            See CALCITE-2036 for an explanation of the replacement below
+            {% endcomment %}
+            <a href="{{ next_page | replace: '/docs/api.html', '/apidocs/' }}" class="next">Next</a>
           {% endif %}
       </div>
     </div>