You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sedona.apache.org by ji...@apache.org on 2020/09/17 08:23:50 UTC

[incubator-sedona] branch master updated: Tweak the design for the mobile devices, add the latest news section and fixed a few typos on the main page

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

jiayu pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-sedona.git


The following commit(s) were added to refs/heads/master by this push:
     new 37e6657  Tweak the design for the mobile devices, add the latest news section and fixed a few typos on the main page
37e6657 is described below

commit 37e6657796cf3995b3f5e4fa2d7a080397a3a51e
Author: Jia Yu <ji...@apache.org>
AuthorDate: Thu Sep 17 01:23:40 2020 -0700

    Tweak the design for the mobile devices, add the latest news section and fixed a few typos on the main page
---
 docs-overrides/main.html              | 30 +++++++++++++++++++-----------
 docs-overrides/partials/header.html   |  2 +-
 docs-overrides/partials/toc-item.html | 23 +++++++++++++++++++++++
 docs-overrides/partials/toc.html      | 25 +++++++++++++++++++++++++
 docs/index.md                         |  3 +++
 mkdocs.yml                            |  2 +-
 6 files changed, 72 insertions(+), 13 deletions(-)

diff --git a/docs-overrides/main.html b/docs-overrides/main.html
index 077724c..6d47926 100644
--- a/docs-overrides/main.html
+++ b/docs-overrides/main.html
@@ -8,7 +8,13 @@
 {% block content %}
   {% if page.is_homepage %}
   <!-- {{ super() }} -->
-  <style>.md-header{position:initial}.md-main__inner{margin-left:20%}@media screen and (min-width:0em){.md-sidebar--secondary{display:none}}@media screen and (min-width:0em){.md-sidebar--primary{display:none}}</style>
+  <style>
+    .md-header{position:initial}.md-main__inner{margin-left:15%}.md-content{display:display}@media screen and (min-width:60em){.md-sidebar--secondary{display:display}}@media screen and (min-width:76.25em){.md-sidebar--primary{display:none}}
+    .br { 
+            display: block; 
+            margin-bottom: 14em; 
+        }  
+</style>
     <section class="tx-container">
       <div class="md-grid md-typeset">
         <div class="tx-hero">
@@ -16,7 +22,6 @@
             <img src="https://raw.githubusercontent.com/apache/incubator-sedona/master/docs/image/sedona_logo.png" width="300">
           </div>
           <div class="tx-hero__content">
-            <h1>Big Geospatial Data Processing Made Easy</h1>
             <p>{{ config.site_description }}</p>
             <p>Set up in 5 minutes with Maven and SBT. No installation required.</p>
             <p>Python API is also available on PyPi.</p>
@@ -27,13 +32,14 @@
               Go to GitHub
             </a>
           </div>
+
           <br><br><br>
 
           <div class="tx-hero__content">
-            <div style="width: 120%;">
+            <h1>High Speed</h1>            
+            <div style="width: 100%;">
               <div style="width: 45%; height: 160px; float: left;">
-               <h1>High Speed</h1>
-                According our benchmark and third-party research papers, Sedona runs 2X - 10X faster than other Spark-based geospatial data systems on computation-intensive query workloads.
+                According to <a href="./community/publication/">our benchmark and third-party research papers</a>, Sedona runs 2X - 10X faster than other Spark-based geospatial data systems on computation-intensive query workloads.
               </div>
               <div style="margin-left: 45%; height: 160px;"> 
                 <figure>
@@ -44,13 +50,13 @@
             </div>            
           </div>
 
-          <br><br><br><br><br>
+          <span class="br"></span> 
 
           <div class="tx-hero__content">
-            <div style="width: 120%;">
+            <h1>Low Memory Consumption</h1>            
+            <div style="width: 100%;">
               <div style="width: 45%; height: 160px; float: left;">
-               <h1>Low Memory Consumption</h1>
-                According our benchmark and third-party research papers, Sedona has 50% less peak memory consumption than other Spark-based geospatial data systems for large-scale in-memory query processing.
+                According to <a href="./community/publication/">our benchmark and third-party research papers</a>, Sedona has 50% less peak memory consumption than other Spark-based geospatial data systems for large-scale in-memory query processing.
               </div>
               <div style="margin-left: 45%; height: 160px;"> 
                 <figure>
@@ -61,11 +67,11 @@
             </div>            
           </div>
 
-          <br><br><br><br><br>
+          <span class="br"></span> 
 
           <div class="tx-hero__content">
             <h1>Ease of Use</h1>
-            <div style="width: 120%;">
+            <div style="width: 100%;">
               <div style="width: 45%; height: 160px; float: left;"> 
                 Sedona offers Scala, Java, Python and Spatial SQL APIs and integrates them into Apache Spark with care. You can simply create spatial analytics and data mining applications and run them in any Spark environments.
               </div>
@@ -77,6 +83,8 @@
               </div>
             </div>            
           </div>
+          
+          <span class="br"></span> 
 
         </div>
       </div>
diff --git a/docs-overrides/partials/header.html b/docs-overrides/partials/header.html
index da205f4..cfd1768 100644
--- a/docs-overrides/partials/header.html
+++ b/docs-overrides/partials/header.html
@@ -3,7 +3,7 @@
 -#}
 <header class="md-header" data-md-component="header">
   <nav class="md-header-nav md-grid" aria-label="{{ lang.t('header.title') }}">
-    <img src="https://raw.githubusercontent.com/apache/incubator-sedona/master/docs/image/sedona_logo.svg" width="100">
+    <img class="md-header-nav__button md-logo" src="https://raw.githubusercontent.com/apache/incubator-sedona/master/docs/image/sedona_logo.svg" width="100">
     <label class="md-header-nav__button md-icon" for="__drawer">
       {% include ".icons/material/menu" ~ ".svg" %}
     </label>
diff --git a/docs-overrides/partials/toc-item.html b/docs-overrides/partials/toc-item.html
new file mode 100644
index 0000000..10834fb
--- /dev/null
+++ b/docs-overrides/partials/toc-item.html
@@ -0,0 +1,23 @@
+{#-
+  This file was automatically generated - do not edit
+-#}
+<li class="md-nav__item">
+  {% if page.is_homepage %}
+  <p class="md-nav__link">
+    {{ toc_item.title }}
+  </p>
+  {% else %}
+  <a href="{{ toc_item.url }}" class="md-nav__link">
+    {{ toc_item.title }}
+  </a>  
+  {% endif %}
+  {% if toc_item.children %}
+    <nav class="md-nav" aria-label="{{ toc_item.title }}">
+      <ul class="md-nav__list">
+        {% for toc_item in toc_item.children %}
+          {% include "partials/toc-item.html" %}
+        {% endfor %}
+      </ul>
+    </nav>
+  {% endif %}
+</li>
\ No newline at end of file
diff --git a/docs-overrides/partials/toc.html b/docs-overrides/partials/toc.html
new file mode 100644
index 0000000..72fd72e
--- /dev/null
+++ b/docs-overrides/partials/toc.html
@@ -0,0 +1,25 @@
+{#-
+  This file was automatically generated - do not edit
+-#}
+{% import "partials/language.html" as lang with context %}
+<nav class="md-nav md-nav--secondary" aria-label="{{ lang.t('toc.title') }}">
+  {% set toc = page.toc %}
+  {% if toc | first is defined and "\x3ch1 id=" in page.content %}
+    {% set toc = (toc | first).children %}
+  {% endif %}
+  {% if toc | first is defined %}
+    <label class="md-nav__title" for="__toc">
+      <span class="md-nav__icon md-icon"></span>
+      {% if page.is_homepage %}
+      Latest News
+      {% else%}
+        {{ lang.t("toc.title") }}
+      {% endif %}
+    </label>
+    <ul class="md-nav__list" data-md-scrollfix>
+      {% for toc_item in toc %}
+        {% include "partials/toc-item.html" %}
+      {% endfor %}
+    </ul>
+  {% endif %}
+</nav>
\ No newline at end of file
diff --git a/docs/index.md b/docs/index.md
index e69de29..de57393 100644
--- a/docs/index.md
+++ b/docs/index.md
@@ -0,0 +1,3 @@
+### 09/15/2020: Apache Sedona new website and Git repo online
+### 07/30/2020: GeoSpark 1.3.2-SNAPSHOT supports Spark 3.0. Details at Download/Maven Central coordinate/
+### 07/19/2020: GeoSpark joined Apache Incubator as Apache Sedona
\ No newline at end of file
diff --git a/mkdocs.yml b/mkdocs.yml
index 234bb0a..9f57727 100644
--- a/mkdocs.yml
+++ b/mkdocs.yml
@@ -42,7 +42,7 @@ nav:
     - Community:
       - Community info: community/contact.md 
       - Contributing rule: community/rule.md
-      - Contributors and committers: community/contributor.md
+      - Committers: community/contributor.md
       - Publications: community/publication.md
     - License: 
       - License-before-GeoSpark-1.2.0: license/License-before-1-2-0.md