calcite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From els...@apache.org
Subject [47/50] [abbrv] calcite-avatica git commit: Site: Fix a broken link to Avatica overview
Date Thu, 30 Mar 2017 21:38:37 GMT
Site: Fix a broken link to Avatica overview

Make the base URL of Avatica's site into a variable.


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

Branch: refs/heads/master
Commit: c231aae494ffd3a587bf4ddd21c71e95813e3daa
Parents: 370dfda
Author: Julian Hyde <jhyde@apache.org>
Authored: Sun Mar 26 19:13:49 2017 -0700
Committer: Julian Hyde <jhyde@apache.org>
Committed: Tue Mar 28 11:11:14 2017 -0700

----------------------------------------------------------------------
 site/_config.yml                        | 3 +++
 site/_docs/adapter.md                   | 2 +-
 site/_docs/history.md                   | 6 +++---
 site/_posts/2016-03-22-release-1.7.0.md | 6 +++---
 site/index.html                         | 2 +-
 5 files changed, 11 insertions(+), 8 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/calcite-avatica/blob/c231aae4/site/_config.yml
----------------------------------------------------------------------
diff --git a/site/_config.yml b/site/_config.yml
index b0a0cdb..799d4cc 100644
--- a/site/_config.yml
+++ b/site/_config.yml
@@ -47,6 +47,9 @@ jdkApiRoot: https://docs.oracle.com/javase/8/docs/api/
 # The base path where the website is deployed
 baseurl:
 
+# The base path where the Avatica's website is deployed
+avaticaBaseurl: /avatica
+
 gems:
     - jekyll-redirect-from
 

http://git-wip-us.apache.org/repos/asf/calcite-avatica/blob/c231aae4/site/_docs/adapter.md
----------------------------------------------------------------------
diff --git a/site/_docs/adapter.md b/site/_docs/adapter.md
index c051a55..107849f 100644
--- a/site/_docs/adapter.md
+++ b/site/_docs/adapter.md
@@ -59,7 +59,7 @@ A driver allows you to connect to Calcite from your application.
 * <a href="{{ site.apiRoot }}/org/apache/calcite/jdbc/package-summary.html">JDBC driver</a>
 
 The JDBC driver is powered by
-[Avatica]({{ site.baseurl }}/docs/avatica_overvew.html).
+[Avatica]({{ site.avaticaBaseurl }}/docs/).
 Connections can be local or remote (JSON over HTTP or Protobuf over HTTP).
 
 The basic form of the JDBC connect string is

http://git-wip-us.apache.org/repos/asf/calcite-avatica/blob/c231aae4/site/_docs/history.md
----------------------------------------------------------------------
diff --git a/site/_docs/history.md b/site/_docs/history.md
index 38e4d2f..b0a7f50 100644
--- a/site/_docs/history.md
+++ b/site/_docs/history.md
@@ -881,11 +881,11 @@ other software versions as specified in `pom.xml`.
 {: #v1-7-0}
 
 This is the first Apache Calcite release since
-[Avatica became an independent project]({{ site.baseurl }}/avatica/news/2016/03/03/separate-project/).
-Calcite now depends on [Avatica]({{ site.baseurl }}/avatica/) in the
+[Avatica became an independent project]({{ site.avaticaBaseurl }}/news/2016/03/03/separate-project/).
+Calcite now depends on [Avatica]({{ site.avaticaBaseurl }}/) in the
 same way as it does other libraries, via a Maven dependency. To see
 Avatica-related changes, see the
-[release notes for Avatica 1.7.1]({{ site.baseurl }}/avatica/docs/history.html#v1-7-1).
+[release notes for Avatica 1.7.1]({{ site.avaticaBaseurl }}/docs/history.html#v1-7-1).
 
 We have [added](https://issues.apache.org/jira/browse/CALCITE-1080)
 an [adapter]({{ site.baseurl }}/docs/adapter.html) for

http://git-wip-us.apache.org/repos/asf/calcite-avatica/blob/c231aae4/site/_posts/2016-03-22-release-1.7.0.md
----------------------------------------------------------------------
diff --git a/site/_posts/2016-03-22-release-1.7.0.md b/site/_posts/2016-03-22-release-1.7.0.md
index 81fa624..d8a26b2 100644
--- a/site/_posts/2016-03-22-release-1.7.0.md
+++ b/site/_posts/2016-03-22-release-1.7.0.md
@@ -27,11 +27,11 @@ limitations under the License.
 -->
 
 Apache Calcite 1.7.0 is the first release since
-[Avatica became an independent project]({{ site.baseurl }}/avatica/news/2016/03/03/separate-project/).
-Calcite now depends on [Avatica]({{ site.baseurl }}/avatica/) in the
+[Avatica became an independent project]({{ site.avaticaBaseurl }}/news/2016/03/03/separate-project/).
+Calcite now depends on [Avatica]({{ site.avaticaBaseurl }}/) in the
 same way as it does other libraries, via a Maven dependency. To see
 Avatica-related changes, see the
-[release notes for Avatica 1.7.1]({{ site.baseurl }}/avatica/docs/history.html#v1-7-1).
+[release notes for Avatica 1.7.1]({{ site.avaticaBaseurl }}/docs/history.html#v1-7-1).
 
 We have [added](https://issues.apache.org/jira/browse/CALCITE-1080)
 an [adapter]({{ site.baseurl }}/docs/cassandra.html) for

http://git-wip-us.apache.org/repos/asf/calcite-avatica/blob/c231aae4/site/index.html
----------------------------------------------------------------------
diff --git a/site/index.html b/site/index.html
index 33ed466..23c0b2f 100644
--- a/site/index.html
+++ b/site/index.html
@@ -75,7 +75,7 @@ limitations under the License.
       <summary>
         <h3>Sub-Projects</h3>
         <ul>
-          <li><a href="{{ site.baseurl }}/avatica">Avatica</a></li>
+          <li><a href="{{ site.avaticaBaseurl }}">Avatica</a></li>
         </ul>
       </summary>
     </div>


Mime
View raw message