You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@systemml.apache.org by de...@apache.org on 2017/04/07 18:58:18 UTC
[14/50] [abbrv] incubator-systemml git commit: [SYSTEMML-1208] Mimic
main website styles in project documentation
[SYSTEMML-1208] Mimic main website styles in project documentation
Update project documentation styles to be similar to main website styles.
Minor case corrections.
Closes #366.
Project: http://git-wip-us.apache.org/repos/asf/incubator-systemml/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-systemml/commit/4b899f26
Tree: http://git-wip-us.apache.org/repos/asf/incubator-systemml/tree/4b899f26
Diff: http://git-wip-us.apache.org/repos/asf/incubator-systemml/diff/4b899f26
Branch: refs/heads/gh-pages
Commit: 4b899f26c72f329e064b4c433d75c0e8628e368f
Parents: 20e46a8
Author: Deron Eriksson <de...@us.ibm.com>
Authored: Sat Jan 28 12:24:58 2017 -0800
Committer: Deron Eriksson <de...@us.ibm.com>
Committed: Sat Jan 28 12:24:59 2017 -0800
----------------------------------------------------------------------
_layouts/global.html | 4 +-
beginners-guide-python.md | 4 +-
css/main.css | 79 +++++++++++++++++++++++++++++++++++-----
developer-tools-systemml.md | 12 ++++--
index.md | 22 +++++------
python-reference.md | 4 +-
6 files changed, 94 insertions(+), 31 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-systemml/blob/4b899f26/_layouts/global.html
----------------------------------------------------------------------
diff --git a/_layouts/global.html b/_layouts/global.html
index 1aa5296..9e668a0 100644
--- a/_layouts/global.html
+++ b/_layouts/global.html
@@ -56,8 +56,8 @@
<li><b>Language Guides:</b></li>
<li><a href="dml-language-reference.html">DML Language Reference</a></li>
<li><a href="beginners-guide-to-dml-and-pydml.html">Beginner's Guide to DML and PyDML</a></li>
- <li><a href="beginners-guide-python.html">Beginner's Guide for Python users</a></li>
- <li><a href="python-reference.html">Reference Guide for Python users</a></li>
+ <li><a href="beginners-guide-python.html">Beginner's Guide for Python Users</a></li>
+ <li><a href="python-reference.html">Reference Guide for Python Users</a></li>
<li class="divider"></li>
<li><b>ML Algorithms:</b></li>
<li><a href="algorithms-reference.html">Algorithms Reference</a></li>
http://git-wip-us.apache.org/repos/asf/incubator-systemml/blob/4b899f26/beginners-guide-python.md
----------------------------------------------------------------------
diff --git a/beginners-guide-python.md b/beginners-guide-python.md
index 8bd957a..8a05ca6 100644
--- a/beginners-guide-python.md
+++ b/beginners-guide-python.md
@@ -1,7 +1,7 @@
---
layout: global
-title: Beginner's Guide for Python users
-description: Beginner's Guide for Python users
+title: Beginner's Guide for Python Users
+description: Beginner's Guide for Python Users
---
<!--
{% comment %}
http://git-wip-us.apache.org/repos/asf/incubator-systemml/blob/4b899f26/css/main.css
----------------------------------------------------------------------
diff --git a/css/main.css b/css/main.css
index 661d9e6..8a7426b 100644
--- a/css/main.css
+++ b/css/main.css
@@ -6,6 +6,9 @@
body {
padding-top: 51px !important;
-moz-osx-font-smoothing: grayscale;
+ -webkit-font-smoothing: antialiased;
+ font-size: 16px;
+ background-color: #f9f9fb;
}
body #content {
@@ -18,25 +21,46 @@ pre {
code {
font-family: "Menlo", "Lucida Console", monospace;
- background: white;
border: none;
padding: 0;
color: #444444;
+ background-color: #f9f9fb;
+ font-size: 85%;
}
a code {
- color: #0088cc;
+ color: #FF7032;
}
a:hover code {
- color: #005580;
- text-decoration: underline;
+ color: #d74108;
+ text-decoration: none;
+}
+
+.navbar .projecttitle > a:hover, .navbar .projecttitle > a:focus {
+ color: #FFF
}
.container {
max-width: 914px;
}
+#content {
+ margin-top: 30px;
+ margin-bottom: 50px;
+ color: #363f3f;
+}
+
+h1, h2, h3, h4, h5, h6 {
+ font-size: 2em;
+ line-height: 1.3em;
+ font-weight: 700;
+ margin-bottom: 0.5em;
+}
+
+pre {
+ background-color: #FFF
+}
/* Branding */
.brand {
font-weight: normal !important;
@@ -57,6 +81,27 @@ img.logo {
/* Navigation Bar */
.navbar {
background-color: rgba(0, 0, 0, 0.9);
+ height: 68px;
+}
+
+.navbar-brand {
+ font-size: 20px;
+}
+
+.navbar-brand.brand.projecttitle {
+ padding-top: 7px;
+}
+
+.navbar-right {
+ height: 100%;
+}
+
+.navbar-collapse.collapse {
+ height: 67px !important;
+}
+
+.navbar-header {
+ padding-top: 10px;
}
.navbar .container {
@@ -126,9 +171,6 @@ img.logo {
*/
a.anchorjs-link:hover { text-decoration: none; }
-/**
- *SystemML additions
- */
table td, table th {
border: 1px solid #333;
padding: 0 .5em;
@@ -170,6 +212,8 @@ table {
font-style: normal;
text-shadow: none;
color: #FFF;
+ height: 100% !important;
+ padding-top: 25px;
}
.navbar a:hover {
@@ -177,10 +221,14 @@ table {
}
.navbar .nav > li > a:focus, .navbar .nav > li > a:hover {
- background-color: #0c8672;
+ background-color: #ff5003;
color: #FFF;
}
+.navbar .nav > li {
+ height: 100%;
+}
+
.dropdown-menu a {
color: #FFF !important;
}
@@ -191,12 +239,18 @@ table {
}
.dropdown-menu li > a:focus, .dropdown-menu li > a:hover {
- background-color: #0c8672;
+ background-color: #ff5003;
background-image: none;
+ font-color: red;
}
a {
- color: #0c8672;
+ color: #FF7032;
+}
+
+a:focus, a:hover {
+ color: #d74108;
+ text-decoration: none;
}
#trademark {
@@ -227,6 +281,11 @@ a {
color: #333 !important;
}
+ .dropdown-menu a:hover {
+ color: #FFF !important;
+ transition: all 0.2s ease-in-out 0s;
+ }
+
.dropdown-menu b {
color: #333 !important;
}
http://git-wip-us.apache.org/repos/asf/incubator-systemml/blob/4b899f26/developer-tools-systemml.md
----------------------------------------------------------------------
diff --git a/developer-tools-systemml.md b/developer-tools-systemml.md
index f50d7f1..f37c5b5 100644
--- a/developer-tools-systemml.md
+++ b/developer-tools-systemml.md
@@ -82,14 +82,18 @@ The lifecycle mappings are stored in a workspace metadata file as specified in E
Please see below tips for resolving some compilation issues that might occur after importing the SystemML project.
-##### `Invalid cross-compiled libraries` error
+### Invalid cross-compiled libraries error
+
Since Scala IDE bundles the latest versions (2.10.5 and 2.11.6 at this point), you need to add one in Eclipse Preferences -> Scala -> Installations by pointing to the <code>lib</code> directory of your Scala 2.10.4 distribution. Once this is done, select SystemML project, right-click, choose Scala -> Set Scala Installation and point to the 2.10.4 installation. This should clear all errors about invalid cross-compiled libraries. A clean build should succeed now.
-##### `Incompatible scala version ` error
+### Incompatible Scala version error
+
Change IDE Scala version `Project->Properties->Scala Compiler -> Scala Installation` to `Fixed Scala Installation: 2.10.5`
-##### `Not found type * ` error
+### Not found type error
+
Run command `mvn package`, and do `Project -> Refresh`
-##### `Marketplace not found ` error for Eclipse Luna
+### Marketplace not found error for Eclipse Luna
+
Except for Scala IDE plugin install, please make sure to get update from "http://alchim31.free.fr/m2e-scala/update-site" to update maven connector for Scala.
http://git-wip-us.apache.org/repos/asf/incubator-systemml/blob/4b899f26/index.md
----------------------------------------------------------------------
diff --git a/index.md b/index.md
index fe8361a..add9a26 100644
--- a/index.md
+++ b/index.md
@@ -23,7 +23,7 @@ limitations under the License.
{% endcomment %}
-->
-SystemML is now an **Apache Incubator** project! Please see the [**Apache SystemML (incubating)**](http://systemml.apache.org/)
+SystemML is now an **Apache Incubator** project! Please see the [**Apache SystemML**](http://systemml.apache.org/)
website for more information.
SystemML is a flexible, scalable machine learning system.
@@ -33,8 +33,8 @@ SystemML's distinguishing characteristics are:
2. **Multiple execution modes**, including Spark MLContext, Spark Batch, Hadoop Batch, Standalone, and JMLC.
3. **Automatic optimization** based on data and cluster characteristics to ensure both efficiency and scalability.
-The [**SystemML GitHub README**](https://github.com/apache/incubator-systemml) describes
-building, testing, and running SystemML. Please read [**Contributing to SystemML**](contributing-to-systemml)
+The [SystemML GitHub README](https://github.com/apache/incubator-systemml) describes
+building, testing, and running SystemML. Please read [Contributing to SystemML](contributing-to-systemml)
to find out how to help make SystemML even better!
To download SystemML, visit the [downloads](http://systemml.apache.org/download) page.
@@ -42,20 +42,20 @@ To download SystemML, visit the [downloads](http://systemml.apache.org/download)
## Running SystemML
-* **[Beginner's Guide For Python Users](beginners-guide-python)** - Beginner's Guide for Python users.
-* **[Spark MLContext](spark-mlcontext-programming-guide)** - Spark MLContext is a programmatic API
+* [Beginner's Guide For Python Users](beginners-guide-python) - Beginner's Guide for Python users.
+* [Spark MLContext](spark-mlcontext-programming-guide) - Spark MLContext is a programmatic API
for running SystemML from Spark via Scala, Python, or Java.
- * [**Spark Shell Example (Scala)**](spark-mlcontext-programming-guide#spark-shell-example)
- * [**Jupyter Notebook Example (PySpark)**](spark-mlcontext-programming-guide#jupyter-pyspark-notebook-example---poisson-nonnegative-matrix-factorization)
-* **[Spark Batch](spark-batch-mode)** - Algorithms are automatically optimized to run across Spark clusters.
+ * [Spark Shell Example (Scala)](spark-mlcontext-programming-guide#spark-shell-example)
+ * [Jupyter Notebook Example (PySpark)](spark-mlcontext-programming-guide#jupyter-pyspark-notebook-example---poisson-nonnegative-matrix-factorization)
+* [Spark Batch](spark-batch-mode) - Algorithms are automatically optimized to run across Spark clusters.
* See [Invoking SystemML in Spark Batch Mode](spark-batch-mode) for detailed information.
-* **[Hadoop Batch](hadoop-batch-mode)** - Algorithms are automatically optimized when distributed across Hadoop clusters.
+* [Hadoop Batch](hadoop-batch-mode) - Algorithms are automatically optimized when distributed across Hadoop clusters.
* See [Invoking SystemML in Hadoop Batch Mode](hadoop-batch-mode) for detailed information.
-* **[Standalone](standalone-guide)** - Standalone mode allows data scientists to rapidly prototype algorithms on a single
+* [Standalone](standalone-guide) - Standalone mode allows data scientists to rapidly prototype algorithms on a single
machine in R-like and Python-like declarative languages.
* The [Standalone Guide](standalone-guide) provides examples of algorithm execution
in Standalone Mode.
-* **[JMLC](jmlc)** - Java Machine Learning Connector.
+* [JMLC](jmlc) - Java Machine Learning Connector.
* See [Java Machine Learning Connector (JMLC)](jmlc) for more information.
## Language Guides
http://git-wip-us.apache.org/repos/asf/incubator-systemml/blob/4b899f26/python-reference.md
----------------------------------------------------------------------
diff --git a/python-reference.md b/python-reference.md
index 3c2bbc3..65dcb5c 100644
--- a/python-reference.md
+++ b/python-reference.md
@@ -1,7 +1,7 @@
---
layout: global
-title: Reference Guide for Python users
-description: Reference Guide for Python users
+title: Reference Guide for Python Users
+description: Reference Guide for Python Users
---
<!--
{% comment %}