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/systemds-website.git
The following commit(s) were added to refs/heads/master by this push:
new c0dd045 [MINOR] More HTMLS & Fix CONTRIBUTING.md & remove unused
navigation html
c0dd045 is described below
commit c0dd045f7988c405355f98f95400063a58445d38
Author: baunsgaard <[email protected]>
AuthorDate: Mon Jun 7 13:41:25 2021 +0200
[MINOR] More HTMLS & Fix CONTRIBUTING.md & remove unused navigation html
---
CONTRIBUTING.md | 30 +++----
README.md | 2 +
_config.yml | 2 +-
_src/_data/navigation.yml | 8 +-
_src/_includes/themes/apache/partials/_footer.html | 6 +-
.../themes/apache/partials/_navigation.html | 95 ----------------------
6 files changed, 26 insertions(+), 117 deletions(-)
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index d584cdd..3117563 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -1,11 +1,12 @@
-### Update and Commit workflow
+# Update and Commit workflow
+
+## Prerequisites
-#### Prerequisites:
Read through [Apache Version control
infrastructure](https://infra.apache.org/version-control.html)
Note: Commit access to the apache svn repository is required.
->#### shell or Windows Powershell
+### shell or Windows Powershell
```powershell
F:\Repo> git clone https://github.com/apache/systemds-website
@@ -15,41 +16,42 @@ systemds-website
systemds-website-svn
```
-##### Build website contents
+### Build website contents
+
```Powershell
F:\Repo\systemds-website> npm install
F:\Repo\systemds-website> gulp
```
-##### Copy the website contents to svn repo
+### Copy the website contents to svn repo
+
+- on Powershell
-1. on Powershell
```Powershell
F:\Repo\systemds-website-svn\site> Copy-Item -Path
F:\Repo\systemds-website\_site -Recurse -Container:$false
```
-2. Instead of `Copy-Item -Path .. -Recurse`, one could simply use `cp` on a
`linux` based system.
-On Linux
-```shell
+- Instead of `Copy-Item -Path .. -Recurse`, one could simply use `cp` on a
`linux` based system. On Linux
+
+```bash
F:\Repo\systemds-website-svn\site> cp -r F:\Repo\systemds-website\_site
```

-
**see Changes:**
See modifications, to see only the expected changes were made. (If there are
changes to other files simply do
not add them!).

-**svn commit:**
-Select `svn commit` option, after right clicking the `systemml-website-svn`
folder.
+**svn commit:**
+Select `svn commit` option, after right clicking the `systemml-website-svn`
folder.
And add message based on the commits.

Provide your apache credentials, that you normally use to push for git
repositories.

-This would update the website.
+This would update the website.
-**ProTip:** Always do a sanity check by knowing what all files changed.
\ No newline at end of file
+**ProTip:** Always do a sanity check by knowing what all files changed
diff --git a/README.md b/README.md
index 9e70e8d..261e760 100644
--- a/README.md
+++ b/README.md
@@ -1,5 +1,7 @@
# SystemDS Website
+This repository contains the code for the SystemDS main website.
+
## Dependencies
### Node.js and npm
diff --git a/_config.yml b/_config.yml
index 770e70c..8448d03 100644
--- a/_config.yml
+++ b/_config.yml
@@ -11,7 +11,7 @@ title: Apache SystemDS - Declarative Large-Scale Machine
Learning
email: [email protected]
description: Apache SystemDS provides an optimal workplace for Machine
Learning using big data
baseurl: "" # the subpath of your site, e.g. /blog
-url: "http://systemds.apache.org" # the base hostname & protocol for your site
+url: "https://systemds.apache.org" # the base hostname & protocol for your site
# Build settings
markdown: kramdown
diff --git a/_src/_data/navigation.yml b/_src/_data/navigation.yml
index ce3a00d..9edeb99 100644
--- a/_src/_data/navigation.yml
+++ b/_src/_data/navigation.yml
@@ -40,13 +40,13 @@ topnav:
- title: Apache
subcategories:
- title: Apache Software Foundation
- url: http://www.apache.org/foundation/how-it-works
+ url: https://www.apache.org/foundation/how-it-works
- title: Apache License
- url: http://www.apache.org/licenses/
+ url: https://www.apache.org/licenses/
- title: Sponsorship
- url: http://www.apache.org/foundation/sponsorship
+ url: https://www.apache.org/foundation/sponsorship
- title: Thanks
- url: http://www.apache.org/foundation/thanks
+ url: https://www.apache.org/foundation/thanks
- title: Privacy Policy
url: /privacy-policy
- title: Security
diff --git a/_src/_includes/themes/apache/partials/_footer.html
b/_src/_includes/themes/apache/partials/_footer.html
index ea4951b..ca8b14d 100644
--- a/_src/_includes/themes/apache/partials/_footer.html
+++ b/_src/_includes/themes/apache/partials/_footer.html
@@ -20,14 +20,14 @@ limitations under the License.
<div class="ml-container ml-container--horizontally-center">
<div class="footer-col-wrapper">
<div style="margin-top: 20px; margin-bottom: 20px;">
- <a href="http://www.apache.org"><img
src="/assets/img/apache-foundation-logo.png" alt="Apache Incubator" /></a>
+ <a href="https://www.apache.org"><img
src="/assets/img/apache-foundation-logo.png" alt="Apache Incubator" /></a>
</div>
<!--Footer copyright year update credit: http://updateyourfooter.com/-->
<div>
Copyright © 2015
<script>new Date().getFullYear() > 2015 && document.write("-" + new
Date().getFullYear());</script>
- <a href="http://www.apache.org">The Apache Software Foundation</a>.
- Licensed under the <a
href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version
2.0</a>.
+ <a href="https://www.apache.org">The Apache Software Foundation</a>.
+ Licensed under the <a
href="https://www.apache.org/licenses/LICENSE-2.0">Apache License, Version
2.0</a>.
<br>
Apache and the Apache Feather logo are trademarks of The Apache
Software Foundation.
</div>
diff --git a/_src/_includes/themes/apache/partials/_navigation.html
b/_src/_includes/themes/apache/partials/_navigation.html
deleted file mode 100644
index cb02a43..0000000
--- a/_src/_includes/themes/apache/partials/_navigation.html
+++ /dev/null
@@ -1,95 +0,0 @@
-<!--
-{% 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 %}
--->
-<!-- Mobile Nav
-<nav class="pushy pushy-right mobile-nav">
- <ul>
- <li role="presentation"><a class="nav-link--hover"
href="https://github.com/apache/systemml" target="_blank">Github</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>
- <li><a href="about.html">About SystemML</a></li>
- <li><a
href="https://issues.apache.org/jira/browse/SYSTEMML/?selectedTab=com.atlassian.jira.jira-projects-plugin:summary-panel"
target="_blank">Found a bug</a></li>
- <li><a href="http://www.apache.org/foundation/how-it-works.html"
target="_blank">Apache Software Foundation</a></li>
- <li><a href="http://www.apache.org/licenses/" target="_blank">Apache
License</a></li>
- <li><a href="http://www.apache.org/foundation/sponsorship"
target="_blank">Sponsorship</a></li>
- <li><a href="http://www.apache.org/foundation/thanks.html"
target="_blank">Thanks</a></li>
- <li><a href="https://systemml.apache.org/privacy-policy"
target="_blank">Privacy Policy</a></li>
- <li><a href="https://systemml.apache.org/security"
target="_blank">Security</a></li>
- </ul>
- </li>
- </ul>
-</nav>
- /Mobile Nav -->
-
-<!-- <div class="navbar navbar-inverse navbar-fixed-top" role="navigation">
- <div class="container">
- <div class="navbar-header">
- <button type="button" class="navbar-toggle" 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>
- <a class="navbar-brand" href="index.html">
- <img src="/assets/img/logo.png" width="80">
- {{ site.data.project.name }}
- </a>
- </div>
-
- <nav class="navbar-collapse collapse" role="navigation">
- <ul class="nav navbar-nav navbar-right">
- {% for entry in site.data.navigation.topnav %}
- <li id="{{ entry.title | slugify }}">
- {% if entry.subcategories %}
- <a href="#" data-toggle="dropdown" class="dropdown-toggle">{{
entry.title }}<b class="caret"></b></a>
- <ul class="dropdown-menu dropdown-left">
- {% for subitem in entry.subcategories %}
- {% if subitem.url contains "http" %}
- {% assign target = "_blank" %}{% else %}
- {% assign target = "_self" %}{% endif %}
- <li><a href="{{ subitem.url }}" target="{{ target }}">{{
subitem.title }}</a></li>
- {% endfor %}
- </ul>
- {% else %}
- {% if entry.url contains "http" %}
- {% assign target = "_blank" %}{% else %}
- {% assign target = "_self" %}{% endif %}
- <a href="{{ entry.url }}" target="{{ target }}">{{ entry.title
}}</a>
- {% endif %}
- </li>
- {% endfor %}
- </ul>
- </nav><!--/.navbar-collapse -->
-
- <!-- </div>
-</div> -->
-
-<!-- {% if page.type == "Home" %}
-<div class="jumbotron">
- <div class="container">
- <h1>{{ site.data.project.name }}</h1>
- <p>{{ site.data.project.description }}</p>
-
- {% if site.data.project.download %}
- <a href="{{ site.data.project.download }}" class="btn btn-primary
btn-lg bigFingerButton" role="button">Get {{ site.data.project.short_name
}}</a></p>
- {% endif %}
- </div>
-</div>
-{% endif %} -->