Repository: incubator-systemml-website Updated Branches: refs/heads/master c6347991c -> 2b75d93a4
[SYSTEMML-1203] Create Documentation page for main website Create Documentation page to reference different versions of project documentation. Update navigation to point to new Documentation page. Project: http://git-wip-us.apache.org/repos/asf/incubator-systemml-website/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-systemml-website/commit/2b75d93a Tree: http://git-wip-us.apache.org/repos/asf/incubator-systemml-website/tree/2b75d93a Diff: http://git-wip-us.apache.org/repos/asf/incubator-systemml-website/diff/2b75d93a Branch: refs/heads/master Commit: 2b75d93a481e439ead339df5b5b2621ed9d149bd Parents: c634799 Author: Deron Eriksson <[email protected]> Authored: Wed Feb 8 15:05:36 2017 -0800 Committer: Deron Eriksson <[email protected]> Committed: Wed Feb 8 15:05:36 2017 -0800 ---------------------------------------------------------------------- _src/_data/navigation.yml | 2 +- _src/_data/project.yml | 2 +- _src/_includes/themes/apache/home.html | 2 +- .../themes/apache/partials/_navigation.html | 2 +- _src/documentation.html | 46 ++++++++++++++++++++ 5 files changed, 50 insertions(+), 4 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-systemml-website/blob/2b75d93a/_src/_data/navigation.yml ---------------------------------------------------------------------- diff --git a/_src/_data/navigation.yml b/_src/_data/navigation.yml index a35128c..87b7b2b 100644 --- a/_src/_data/navigation.yml +++ b/_src/_data/navigation.yml @@ -24,7 +24,7 @@ topnav: url: /get-started - title: Documentation - url: https://apache.github.io/incubator-systemml + url: /documentation - title: Community subcategories: http://git-wip-us.apache.org/repos/asf/incubator-systemml-website/blob/2b75d93a/_src/_data/project.yml ---------------------------------------------------------------------- diff --git a/_src/_data/project.yml b/_src/_data/project.yml index 41e707f..e992968 100644 --- a/_src/_data/project.yml +++ b/_src/_data/project.yml @@ -60,6 +60,6 @@ website_repository_mirror: https://github.com/apache/incubator-systemml-website download: /download.html -documentation: https://apache.github.io/incubator-systemml +documentation: /documentation.html podling: true http://git-wip-us.apache.org/repos/asf/incubator-systemml-website/blob/2b75d93a/_src/_includes/themes/apache/home.html ---------------------------------------------------------------------- diff --git a/_src/_includes/themes/apache/home.html b/_src/_includes/themes/apache/home.html index 6e6b414..d10a4b4 100644 --- a/_src/_includes/themes/apache/home.html +++ b/_src/_includes/themes/apache/home.html @@ -73,7 +73,7 @@ limitations under the License. <h2>Get Started</h2> <p>New to Apache SystemML? Try our Get Started tutorial that will walk you through setting up your environment and getting you up and going with SystemML.</p> <a class="button button-primary" href="get-started.html">Begin Tutorial</a> - <a class="button button-secondary" href="https://apache.github.io/incubator-systemml/" target="_blank">Docs</a> + <a class="button button-secondary" href="documentation.html" target="_blank">Docs</a> </div> </div> </section> http://git-wip-us.apache.org/repos/asf/incubator-systemml-website/blob/2b75d93a/_src/_includes/themes/apache/partials/_navigation.html ---------------------------------------------------------------------- diff --git a/_src/_includes/themes/apache/partials/_navigation.html b/_src/_includes/themes/apache/partials/_navigation.html index 2814cdb..08c2317 100644 --- a/_src/_includes/themes/apache/partials/_navigation.html +++ b/_src/_includes/themes/apache/partials/_navigation.html @@ -20,7 +20,7 @@ limitations under the License. <nav class="pushy pushy-right mobile-nav"> <ul> <li role="presentation"><a class="nav-link--hover" href="https://github.com/apache/incubator-systemml" target="_blank">Github</a></li> - <li role="presentation"><a class="nav-link--hover" href="https://apache.github.io/incubator-systemml" target="_blank">Documentation</a></li> + <li role="presentation"><a class="nav-link--hover" href="documentation.html" target="_blank">Documentation</a></li> <li> <a class="nav-link--hover" href="#">Resources<i class="icon icon-chevron-down"></i></a> <ul> http://git-wip-us.apache.org/repos/asf/incubator-systemml-website/blob/2b75d93a/_src/documentation.html ---------------------------------------------------------------------- diff --git a/_src/documentation.html b/_src/documentation.html new file mode 100644 index 0000000..5263060 --- /dev/null +++ b/_src/documentation.html @@ -0,0 +1,46 @@ +--- +layout: page +title: Documentation +description: Project Documentation Page +group: nav-right +--- +<!-- +{% 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 %} +--> + +<!-- Hero --> +<section class="full-stripe full-stripe--subpage-header clear-header"> + <div class="ml-container ml-container--horizontally-center"> + <div class="col col-12 content-group content-group--center-content content-group--center-align"> + <h1>{{ site.data.project.name }} Documentation</h1> + </div> + </div> +</section> + +<section class="full-stripe full-stripe--alternate"> + <div class="ml-container"> + <div class="col col-12 content-group content-group--medium-bottom-margin"> + <h2>{{ site.data.project.name }} Documentation</h2> + <p>Documentation such as programming guides, reference guides, and API docs is available online for each version of SystemML below:</p> + <ul> + <li><a href="http://apache.github.io/incubator-systemml/">Latest</a></li> + <li><a href="docs/0.12.0/index.html">0.12.0</a></li> + </ul> + </div> + </div> +</section>
