Repository: calcite-avatica Updated Branches: refs/heads/master 2de4b1922 -> c148b4164
[CALCITE-2036] Fix "next" link on history.html Project: http://git-wip-us.apache.org/repos/asf/calcite-avatica/repo Commit: http://git-wip-us.apache.org/repos/asf/calcite-avatica/commit/c148b416 Tree: http://git-wip-us.apache.org/repos/asf/calcite-avatica/tree/c148b416 Diff: http://git-wip-us.apache.org/repos/asf/calcite-avatica/diff/c148b416 Branch: refs/heads/master Commit: c148b4164c508c9fd410d27704e41fb8100c0eea Parents: 2de4b19 Author: Michael Mior <[email protected]> Authored: Tue Nov 14 07:52:26 2017 -0500 Committer: Michael Mior <[email protected]> Committed: Tue Nov 14 07:56:21 2017 -0500 ---------------------------------------------------------------------- site/_includes/section_nav.html | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/calcite-avatica/blob/c148b416/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>
