You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@systemml.apache.org by ba...@apache.org on 2020/06/18 19:25:24 UTC

[systemml] branch master updated: [MINOR] Fix paths to resources docs

This is an automated email from the ASF dual-hosted git repository.

baunsgaard pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/systemml.git


The following commit(s) were added to refs/heads/master by this push:
     new 7326e6f  [MINOR] Fix paths to resources docs
7326e6f is described below

commit 7326e6f64e7047f18e4f3e97fb5ad3a970b75bbf
Author: baunsgaard <ba...@tugraz.at>
AuthorDate: Thu Jun 18 17:08:23 2020 +0200

    [MINOR] Fix paths to resources docs
---
 README.md                           |   6 +-
 docs/_includes/header.html          |  58 +++++++++++++
 docs/_includes/scripts.html         |  85 +++++++++++++++++++
 docs/_layouts/base.html             |  53 ++++++++++++
 docs/_layouts/global.html           | 164 ------------------------------------
 docs/_layouts/site.html             |  53 ++++++++++++
 docs/index.md                       |  16 ++--
 docs/site/builtins-reference.md     |   2 +-
 docs/site/dml-language-reference.md |   2 +-
 docs/site/install.md                |   4 +-
 docs/site/run.md                    |   4 +-
 11 files changed, 265 insertions(+), 182 deletions(-)

diff --git a/README.md b/README.md
index 117b02a..c5c7d2e 100644
--- a/README.md
+++ b/README.md
@@ -28,11 +28,11 @@ systems - that either provide homogeneous tensors or 2D Datasets - and in order
 the underlying data model are DataTensors, i.e., tensors (multi-dimensional arrays) whose first dimension may have a 
 heterogeneous and nested schema.
 
-**Quick Start** [Install, Quick Start and Hello World](/bin/README.md)
+**Quick Start** [Install, Quick Start and Hello World](https://apache.github.io/systemml/site/install.html)
 
-**Documentation:** [SystemDS Documentation](/docs/README.md)
+**Documentation:** [SystemDS Documentation](https://apache.github.io/systemml/)
 
-**Python Documentation** [Python SystemDS Documentation](https://damslab.github.io/docs/sysdspython/index.html)
+**Python Documentation** [Python SystemDS Documentation](https://apache.github.io/systemml/api/python/index.html)
 
 **Status and Build:** SystemDS is still in pre-alpha status. The original code base was forked from 
 [**Apache SystemML**](http://systemml.apache.org/) 1.2 in September 2018. We will continue to support linear algebra 
diff --git a/docs/_includes/header.html b/docs/_includes/header.html
new file mode 100644
index 0000000..62e62df
--- /dev/null
+++ b/docs/_includes/header.html
@@ -0,0 +1,58 @@
+<!--
+{% comment %}
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements.  See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to you under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License.  You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+{% endcomment %}
+-->
+<header class="navbar navbar-default navbar-fixed-top" id="topbar">
+    <div class="container">
+        <div class="navbar-header">
+            <div class="navbar-brand brand projectlogo">
+                <a href="http://systemml.apache.org/"><img class="logo" src=".{% if page.path contains 'site' %}/..{% endif %}/img/systemml-logo.png" alt="Apache SystemDS" title="Apache SystemDS" /></a>
+            </div>
+            <div class="navbar-brand brand projecttitle">
+                <a href="http://systemml.apache.org/">Apache SystemDS<sup id="trademark">™</sup></a><br />
+                <span class="version">{{site.SYSTEMDS_VERSION}}</span>
+            </div>
+            <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target=".navbar-collapse">
+                <span class="sr-only">Toggle navigation</span>
+                <span class="icon-bar"></span>
+                <span class="icon-bar"></span>
+                <span class="icon-bar"></span>
+            </button>
+        </div>
+        <nav class="navbar-collapse collapse">
+            <ul class="nav navbar-nav navbar-right">
+                <li><a href=".{% if page.path contains 'site' %}/..{% endif %}/">Overview</a></li>
+                <li><a href="https://github.com/apache/systemml">GitHub</a></li>
+                <li class="dropdown">
+                    <a href="#" class="dropdown-toggle" data-toggle="dropdown">API Docs<b class="caret"></b></a>
+                    <ul class="dropdown-menu" role="menu">
+                        <li><a href=".{% if page.path contains 'site' %}/..{% endif %}/api/java/">Java</a></li>
+                        <li><a href=".{% if page.path contains 'site' %}/..{% endif %}/api/python/">Python</a></li>
+                    </ul>
+                </li>
+                <li class="dropdown">
+                    <a href="#" class="dropdown-toggle" data-toggle="dropdown">Issues<b class="caret"></b></a>
+                    <ul class="dropdown-menu" role="menu">
+                        <li><a href="https://issues.apache.org/jira/browse/SYSTEMML">SystemDS JIRA</a></li>
+                    </ul>
+                </li>
+                <li><input id="s-bar" placeholder="Search Docs.." style="margin-top: 20px;"></input>
+                </li>
+            </ul>
+        </nav>
+    </div>
+</header>
\ No newline at end of file
diff --git a/docs/_includes/scripts.html b/docs/_includes/scripts.html
new file mode 100644
index 0000000..f4a344e
--- /dev/null
+++ b/docs/_includes/scripts.html
@@ -0,0 +1,85 @@
+<!--
+{% comment %}
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements.  See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to you under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License.  You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+{% endcomment %}
+-->
+{% if site.analytics_on == true %} {% case site.analytics_provider %} {% when "google_universal" %}
+<!-- Analytics -->
+<script>
+    (function(i, s, o, g, r, a, m) {
+        i['GoogleAnalyticsObject'] = r;
+        i[r] = i[r] || function() {
+            (i[r].q = i[r].q || []).push(arguments)
+        }, i[r].l = 1 * new Date();
+        a = s.createElement(o),
+            m = s.getElementsByTagName(o)[0];
+        a.async = 1;
+        a.src = g;
+        m.parentNode.insertBefore(a, m)
+    })(window, document, 'script', '//www.google-analytics.com/analytics.js', 'ga');
+    ga('create', '{{ site.analytics_google_universal_tracking_id }}', 'auto');
+    ga('send', 'pageview');
+</script>
+{% endcase %} {% endif %}
+
+<!-- MathJax Section -->
+<script type="text/x-mathjax-config">
+    MathJax.Hub.Config({ TeX: { equationNumbers: { autoNumber: "AMS" } } });
+</script>
+<script>
+    // Note that we load MathJax this way to work with local file (file://), HTTP and HTTPS.
+    // We could use "//cdn.mathjax...", but that won't support "file://".
+    (function(d, script) {
+        script = d.createElement('script');
+        script.type = 'text/javascript';
+        script.async = true;
+        script.onload = function() {
+            MathJax.Hub.Config({
+                tex2jax: {
+                    inlineMath: [
+                        ["$", "$"],
+                        ["\\\\(", "\\\\)"]
+                    ],
+                    displayMath: [
+                        ["$$", "$$"],
+                        ["\\[", "\\]"]
+                    ],
+                    processEscapes: true,
+                    skipTags: ['script', 'noscript', 'style', 'textarea', 'pre']
+                }
+            });
+        };
+        script.src = ('https:' == document.location.protocol ? 'https://' : 'http://') +
+            'cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML';
+        d.getElementsByTagName('head')[0].appendChild(script);
+    }(document));
+</script>
+<!-- Algolia search section -->
+<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.js"></script>
+<script>
+    // Crawler configuration for the search indexing is available at:
+    // https://github.com/algolia/docsearch-configs/blob/master/configs/apache_systemml.json
+
+    docsearch({
+        apiKey: '78c19564c220d4642a41197baae304ef',
+        indexName: 'apache_systemml',
+        inputSelector: "#s-bar",
+        // For custom styling for the dropdown, please set debug to true
+        // so that the dropdown won't disappear when the inspect tools are 
+        // open.
+        debug: false
+    });
+</script>
\ No newline at end of file
diff --git a/docs/_layouts/base.html b/docs/_layouts/base.html
new file mode 100644
index 0000000..5bfdfe8
--- /dev/null
+++ b/docs/_layouts/base.html
@@ -0,0 +1,53 @@
+<!DOCTYPE html>
+<!--[if lt IE 7]>      <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
+<!--[if IE 7]>         <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
+<!--[if IE 8]>         <html class="no-js lt-ie9"> <![endif]-->
+<!--[if gt IE 8]><!-->
+<html class="no-js">
+<!--<![endif]-->
+<!--
+{% comment %}
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements.  See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to you under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License.  You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+{% endcomment %}
+-->
+
+<head>
+    <title>{{ page.title }} - SystemDS {{site.SYSTEMDS_VERSION}}</title>
+    <meta charset="utf-8">
+    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
+    <meta name="description" content="{{page.description | replace: 'SYSTEMDS_VERSION', site.SYSTEMDS_VERSION}}">
+    <meta name="viewport" content="width=device-width">
+    <link rel="stylesheet" href="./css/bootstrap.min.css">
+    <link rel="stylesheet" href="./css/main.css">
+    <link rel="stylesheet" href="./css/pygments-default.css">
+    <link rel="shortcut icon" href="./img/favicon.png">
+    <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.css" />
+    <script src="./js/vendor/jquery-1.12.0.min.js"></script>
+    <script src="./js/vendor/bootstrap.min.js"></script>
+    <script src="./js/vendor/anchor.min.js"></script>
+    <script src="./js/main.js"></script>
+</head>
+
+<body>
+    {% include header.html %}
+    <div class="container" id="content">
+        <h1 class="title">{{ page.title }}</h1>
+        {{ content }}
+    </div>
+    {% include scripts.html %}
+</body>
+
+</html>
\ No newline at end of file
diff --git a/docs/_layouts/global.html b/docs/_layouts/global.html
deleted file mode 100644
index 88890f4..0000000
--- a/docs/_layouts/global.html
+++ /dev/null
@@ -1,164 +0,0 @@
-<!DOCTYPE html>
-<!--[if lt IE 7]>      <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
-<!--[if IE 7]>         <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
-<!--[if IE 8]>         <html class="no-js lt-ie9"> <![endif]-->
-<!--[if gt IE 8]><!-->
-<html class="no-js">
-<!--<![endif]-->
-<!--
-{% comment %}
-Licensed to the Apache Software Foundation (ASF) under one or more
-contributor license agreements.  See the NOTICE file distributed with
-this work for additional information regarding copyright ownership.
-The ASF licenses this file to you under the Apache License, Version 2.0
-(the "License"); you may not use this file except in compliance with
-the License.  You may obtain a copy of the License at
-
-http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-{% endcomment %}
--->
-
-<head>
-    <title>{{ page.title }} - SystemDS {{site.SYSTEMDS_VERSION}}</title>
-    <meta charset="utf-8">
-    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
-    <meta name="description" content="{{page.description | replace: 'SYSTEMDS_VERSION', site.SYSTEMDS_VERSION}}">
-    <meta name="viewport" content="width=device-width">
-    <link rel="stylesheet" href="/css/bootstrap.min.css">
-    <link rel="stylesheet" href="/css/main.css">
-    <link rel="stylesheet" href="/css/pygments-default.css">
-    <link rel="shortcut icon" href="/img/favicon.png">
-    <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.css" />
-</head>
-
-<body>
-    <header class="navbar navbar-default navbar-fixed-top" id="topbar">
-        <div class="container">
-            <div class="navbar-header">
-                <div class="navbar-brand brand projectlogo">
-                    <a href="http://systemml.apache.org/"><img class="logo" src="/img/systemml-logo.png" alt="Apache SystemDS" title="Apache SystemDS" /></a>
-                </div>
-                <div class="navbar-brand brand projecttitle">
-                    <a href="http://systemml.apache.org/">Apache SystemDS<sup id="trademark">™</sup></a><br />
-                    <span class="version">{{site.SYSTEMDS_VERSION}}</span>
-                </div>
-                <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target=".navbar-collapse">
-                    <span class="sr-only">Toggle navigation</span>
-                    <span class="icon-bar"></span>
-                    <span class="icon-bar"></span>
-                    <span class="icon-bar"></span>
-                </button>
-            </div>
-            <nav class="navbar-collapse collapse">
-                <ul class="nav navbar-nav navbar-right">
-                    <li><a href="/index">Overview</a></li>
-                    <li><a href="https://github.com/apache/systemml">GitHub</a></li>
-                    <li class="dropdown">
-                        <a href="#" class="dropdown-toggle" data-toggle="dropdown">API Docs<b class="caret"></b></a>
-                        <ul class="dropdown-menu" role="menu">
-                            <li><a href="/api/java/index">Java</a></li>
-                            <li><a href="/api/python/index">Python</a></li>
-                        </ul>
-                    </li>
-                    <li class="dropdown">
-                        <a href="#" class="dropdown-toggle" data-toggle="dropdown">Issues<b class="caret"></b></a>
-                        <ul class="dropdown-menu" role="menu">
-                            <li><a href="https://issues.apache.org/jira/browse/SYSTEMML">SystemDS JIRA</a></li>
-                        </ul>
-                    </li>
-                    <li><input id="s-bar" placeholder="Search Docs.." style="margin-top: 20px;"></input>
-                    </li>
-                </ul>
-            </nav>
-        </div>
-    </header>
-
-    <div class="container" id="content">
-        {% if page.displayTitle %}
-        <h1 class="title">{{ page.displayTitle }}</h1>
-        {% else %}
-        <h1 class="title">{{ page.title }}</h1>
-        {% endif %} {{ content }}
-    </div>
-
-    <script src="/js/vendor/jquery-1.12.0.min.js"></script>
-    <script src="/js/vendor/bootstrap.min.js"></script>
-    <script src="/js/vendor/anchor.min.js"></script>
-    <script src="/js/main.js"></script>
-
-    {% if site.analytics_on == true %} {% case site.analytics_provider %} {% when "google_universal" %}
-    <!-- Analytics -->
-    <script>
-        (function(i, s, o, g, r, a, m) {
-            i['GoogleAnalyticsObject'] = r;
-            i[r] = i[r] || function() {
-                (i[r].q = i[r].q || []).push(arguments)
-            }, i[r].l = 1 * new Date();
-            a = s.createElement(o),
-                m = s.getElementsByTagName(o)[0];
-            a.async = 1;
-            a.src = g;
-            m.parentNode.insertBefore(a, m)
-        })(window, document, 'script', '//www.google-analytics.com/analytics.js', 'ga');
-        ga('create', '{{ site.analytics_google_universal_tracking_id }}', 'auto');
-        ga('send', 'pageview');
-    </script>
-    {% endcase %} {% endif %}
-
-    <!-- MathJax Section -->
-    <script type="text/x-mathjax-config">
-        MathJax.Hub.Config({ TeX: { equationNumbers: { autoNumber: "AMS" } } });
-    </script>
-    <script>
-        // Note that we load MathJax this way to work with local file (file://), HTTP and HTTPS.
-        // We could use "//cdn.mathjax...", but that won't support "file://".
-        (function(d, script) {
-            script = d.createElement('script');
-            script.type = 'text/javascript';
-            script.async = true;
-            script.onload = function() {
-                MathJax.Hub.Config({
-                    tex2jax: {
-                        inlineMath: [
-                            ["$", "$"],
-                            ["\\\\(", "\\\\)"]
-                        ],
-                        displayMath: [
-                            ["$$", "$$"],
-                            ["\\[", "\\]"]
-                        ],
-                        processEscapes: true,
-                        skipTags: ['script', 'noscript', 'style', 'textarea', 'pre']
-                    }
-                });
-            };
-            script.src = ('https:' == document.location.protocol ? 'https://' : 'http://') +
-                'cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML';
-            d.getElementsByTagName('head')[0].appendChild(script);
-        }(document));
-    </script>
-    <!-- Algolia search section -->
-    <script type="text/javascript" src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.js"></script>
-    <script>
-        // Crawler configuration for the search indexing is available at:
-        // https://github.com/algolia/docsearch-configs/blob/master/configs/apache_systemml.json
-
-        docsearch({
-            apiKey: '78c19564c220d4642a41197baae304ef',
-            indexName: 'apache_systemml',
-            inputSelector: "#s-bar",
-            // For custom styling for the dropdown, please set debug to true
-            // so that the dropdown won't disappear when the inspect tools are 
-            // open.
-            debug: false
-        });
-    </script>
-</body>
-
-</html>
\ No newline at end of file
diff --git a/docs/_layouts/site.html b/docs/_layouts/site.html
new file mode 100644
index 0000000..06876e2
--- /dev/null
+++ b/docs/_layouts/site.html
@@ -0,0 +1,53 @@
+<!DOCTYPE html>
+<!--[if lt IE 7]>      <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
+<!--[if IE 7]>         <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
+<!--[if IE 8]>         <html class="no-js lt-ie9"> <![endif]-->
+<!--[if gt IE 8]><!-->
+<html class="no-js">
+<!--<![endif]-->
+<!--
+{% comment %}
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements.  See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to you under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License.  You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+{% endcomment %}
+-->
+
+<head>
+    <title>{{ page.title }} - SystemDS {{site.SYSTEMDS_VERSION}}</title>
+    <meta charset="utf-8">
+    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
+    <meta name="description" content="{{page.description | replace: 'SYSTEMDS_VERSION', site.SYSTEMDS_VERSION}}">
+    <meta name="viewport" content="width=device-width">
+    <link rel="stylesheet" href="./../css/bootstrap.min.css">
+    <link rel="stylesheet" href="./../css/main.css">
+    <link rel="stylesheet" href="./../css/pygments-default.css">
+    <link rel="shortcut icon" href="./../img/favicon.png">
+    <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.css" />
+    <script src="./../js/vendor/jquery-1.12.0.min.js"></script>
+    <script src="./../js/vendor/bootstrap.min.js"></script>
+    <script src="./../js/vendor/anchor.min.js"></script>
+    <script src="./../js/main.js"></script>
+</head>
+
+<body>
+    {% include header.html %}
+    <div class="container" id="content">
+        <h1 class="title">{{ page.title }}</h1>
+        {{ content }}
+    </div>
+    {% include scripts.html %}
+</body>
+
+</html>
\ No newline at end of file
diff --git a/docs/index.md b/docs/index.md
index 1835e92..73a8b7d 100644
--- a/docs/index.md
+++ b/docs/index.md
@@ -1,8 +1,6 @@
 ---
-layout: global
-displayTitle: SystemDS Documentation
+layout: base
 title: SystemDS Documentation
-description: SystemDS Documentation
 ---
 <!--
 {% comment %}
@@ -36,11 +34,11 @@ This version of SystemDS supports: Java 8+,  Python 3.5+, Hadoop 2.6+ (Not 3.X),
 
 Various forms of documentation for SystemDS are available.
 
-- a [DML language reference](/site/dml-language-reference) for an list of operations possible inside SystemDS.
-- [builtin functions](/site/builtins-reference) contains a collection of builtin functions providing an high level abstraction on complex machine learning algorithms.
-- [Run SystemDS](/site/run) contains an Helloworld example along with an environment setup guide.
-- Instructions on python can be found at [Python Documentation](/api/python/index)
-- The [javadoc API](/api/java/index) contains internal documentation of the system source code.
-- [Install from Source](/site/install) guides through setup from git download to running system.
+- a [DML language reference](./site/dml-language-reference) for an list of operations possible inside SystemDS.
+- [builtin functions](./site/builtins-reference) contains a collection of builtin functions providing an high level abstraction on complex machine learning algorithms.
+- [Run SystemDS](./site/run) contains an Helloworld example along with an environment setup guide.
+- Instructions on python can be found at [Python Documentation](./api/python/index)
+- The [javadoc API](./api/java/index) contains internal documentation of the system source code.
+- [Install from Source](./site/install) guides through setup from git download to running system.
 - If you want to contribute take a look at [Contributing](https://github.com/apache/systemml/blob/master/CONTRIBUTING.md)
 
diff --git a/docs/site/builtins-reference.md b/docs/site/builtins-reference.md
index cb32d98..812245d 100644
--- a/docs/site/builtins-reference.md
+++ b/docs/site/builtins-reference.md
@@ -1,5 +1,5 @@
 ---
-layout: global
+layout: site
 title: Buildin Reference
 ---
 <!--
diff --git a/docs/site/dml-language-reference.md b/docs/site/dml-language-reference.md
index 0b045f8..bb31b10 100644
--- a/docs/site/dml-language-reference.md
+++ b/docs/site/dml-language-reference.md
@@ -1,5 +1,5 @@
 ---
-layout: global
+layout: site
 title: DML Language Reference
 ---
 <!--
diff --git a/docs/site/install.md b/docs/site/install.md
index 9557114..d96d79f 100644
--- a/docs/site/install.md
+++ b/docs/site/install.md
@@ -1,5 +1,5 @@
 ---
-layout: global
+layout: site
 title: SystemDS Install from source
 ---
 <!--
@@ -81,4 +81,4 @@ The first time you package the system it will take longer since maven will downl
 But successive compiles should become faster.
 
 Now everything is setup and ready to go!
-To execute dml scripts i suggest to take a look at [Execute SystemDS](/site/run)
\ No newline at end of file
+To execute dml scripts i suggest to take a look at [Execute SystemDS](run)
\ No newline at end of file
diff --git a/docs/site/run.md b/docs/site/run.md
index 223748c..2b7032b 100644
--- a/docs/site/run.md
+++ b/docs/site/run.md
@@ -1,5 +1,5 @@
 ---
-layout: global
+layout: site
 title: Running SystemDS
 ---
 <!--
@@ -21,7 +21,7 @@ limitations under the License.
 {% endcomment %}
 -->
 
-If you want to execute from source code follow the [Install from source](/site/install) guide first.
+If you want to execute from source code follow the [Install from source](install) guide first.
 
 ## Setting SYSTEMDS_ROOT environment variable