spark git commit: [SPARK-5608] Improve SEO of Spark documentation pages
Repository: spark Updated Branches: refs/heads/branch-1.3 c22ccc07c - de112a209 [SPARK-5608] Improve SEO of Spark documentation pages - Add meta description tags on some of the most important doc pages - Shorten the titles of some pages to have more relevant keywords; for example there's no reason to have Spark SQL Programming Guide - Spark 1.2.0 documentation, we can just say Spark SQL - Spark 1.2.0 documentation. Author: Matei Zaharia ma...@databricks.com Closes #4381 from mateiz/docs-seo and squashes the following commits: 4940563 [Matei Zaharia] [SPARK-5608] Improve SEO of Spark documentation pages (cherry picked from commit 4d74f0601a2465b0d2273a8bcc716b304584831f) Signed-off-by: Matei Zaharia ma...@databricks.com Project: http://git-wip-us.apache.org/repos/asf/spark/repo Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/de112a20 Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/de112a20 Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/de112a20 Branch: refs/heads/branch-1.3 Commit: de112a2096a2b84ce2cac112f12b50b5068d6c35 Parents: c22ccc0 Author: Matei Zaharia ma...@databricks.com Authored: Thu Feb 5 11:12:50 2015 -0800 Committer: Matei Zaharia ma...@databricks.com Committed: Thu Feb 5 11:12:59 2015 -0800 -- docs/_layouts/global.html | 4 +++- docs/bagel-programming-guide.md | 3 ++- docs/configuration.md | 3 ++- docs/graphx-programming-guide.md| 4 +++- docs/index.md | 4 +++- docs/mllib-decision-tree.md | 4 ++-- docs/mllib-guide.md | 4 +++- docs/monitoring.md | 1 + docs/programming-guide.md | 1 + docs/quick-start.md | 1 + docs/security.md| 3 ++- docs/sql-programming-guide.md | 3 ++- docs/streaming-programming-guide.md | 4 +++- docs/tuning.md | 4 +++- 14 files changed, 31 insertions(+), 12 deletions(-) -- http://git-wip-us.apache.org/repos/asf/spark/blob/de112a20/docs/_layouts/global.html -- diff --git a/docs/_layouts/global.html b/docs/_layouts/global.html index 8841f76..efc4c61 100755 --- a/docs/_layouts/global.html +++ b/docs/_layouts/global.html @@ -7,7 +7,9 @@ meta charset=utf-8 meta http-equiv=X-UA-Compatible content=IE=edge,chrome=1 title{{ page.title }} - Spark {{site.SPARK_VERSION_SHORT}} Documentation/title -meta name=description content= +{% if page.description %} + meta name=description content={{page.description | replace: 'SPARK_VERSION_SHORT', site.SPARK_VERSION_SHORT}} +{% endif %} {% if page.redirect %} meta http-equiv=refresh content=0; url={{page.redirect}} http://git-wip-us.apache.org/repos/asf/spark/blob/de112a20/docs/bagel-programming-guide.md -- diff --git a/docs/bagel-programming-guide.md b/docs/bagel-programming-guide.md index 7e55131..c2fe6b0 100644 --- a/docs/bagel-programming-guide.md +++ b/docs/bagel-programming-guide.md @@ -1,6 +1,7 @@ --- layout: global -title: Bagel Programming Guide +displayTitle: Bagel Programming Guide +title: Bagel --- **Bagel will soon be superseded by [GraphX](graphx-programming-guide.html); we recommend that new users try GraphX instead.** http://git-wip-us.apache.org/repos/asf/spark/blob/de112a20/docs/configuration.md -- diff --git a/docs/configuration.md b/docs/configuration.md index 8b1d759..4c86cb7 100644 --- a/docs/configuration.md +++ b/docs/configuration.md @@ -1,6 +1,7 @@ --- layout: global -title: Spark Configuration +displayTitle: Spark Configuration +title: Configuration --- * This will become a table of contents (this text will be scraped). {:toc} http://git-wip-us.apache.org/repos/asf/spark/blob/de112a20/docs/graphx-programming-guide.md -- diff --git a/docs/graphx-programming-guide.md b/docs/graphx-programming-guide.md index e298c51..826f6d8 100644 --- a/docs/graphx-programming-guide.md +++ b/docs/graphx-programming-guide.md @@ -1,6 +1,8 @@ --- layout: global -title: GraphX Programming Guide +displayTitle: GraphX Programming Guide +title: GraphX +description: GraphX graph processing library guide for Spark SPARK_VERSION_SHORT --- * This will become a table of contents (this text will be scraped). http://git-wip-us.apache.org/repos/asf/spark/blob/de112a20/docs/index.md -- diff --git a/docs/index.md b/docs/index.md index 171d6dd..e006be6 100644 --- a/docs/index.md +++ b/docs/index.md @@ -1,6 +1,8 @@ --- layout: global -title: Spark Overview
spark git commit: [SPARK-5608] Improve SEO of Spark documentation pages
Repository: spark Updated Branches: refs/heads/master c4b1108c3 - 4d74f0601 [SPARK-5608] Improve SEO of Spark documentation pages - Add meta description tags on some of the most important doc pages - Shorten the titles of some pages to have more relevant keywords; for example there's no reason to have Spark SQL Programming Guide - Spark 1.2.0 documentation, we can just say Spark SQL - Spark 1.2.0 documentation. Author: Matei Zaharia ma...@databricks.com Closes #4381 from mateiz/docs-seo and squashes the following commits: 4940563 [Matei Zaharia] [SPARK-5608] Improve SEO of Spark documentation pages Project: http://git-wip-us.apache.org/repos/asf/spark/repo Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/4d74f060 Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/4d74f060 Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/4d74f060 Branch: refs/heads/master Commit: 4d74f0601a2465b0d2273a8bcc716b304584831f Parents: c4b1108 Author: Matei Zaharia ma...@databricks.com Authored: Thu Feb 5 11:12:50 2015 -0800 Committer: Matei Zaharia ma...@databricks.com Committed: Thu Feb 5 11:12:50 2015 -0800 -- docs/_layouts/global.html | 4 +++- docs/bagel-programming-guide.md | 3 ++- docs/configuration.md | 3 ++- docs/graphx-programming-guide.md| 4 +++- docs/index.md | 4 +++- docs/mllib-decision-tree.md | 4 ++-- docs/mllib-guide.md | 4 +++- docs/monitoring.md | 1 + docs/programming-guide.md | 1 + docs/quick-start.md | 1 + docs/security.md| 3 ++- docs/sql-programming-guide.md | 3 ++- docs/streaming-programming-guide.md | 4 +++- docs/tuning.md | 4 +++- 14 files changed, 31 insertions(+), 12 deletions(-) -- http://git-wip-us.apache.org/repos/asf/spark/blob/4d74f060/docs/_layouts/global.html -- diff --git a/docs/_layouts/global.html b/docs/_layouts/global.html index 8841f76..efc4c61 100755 --- a/docs/_layouts/global.html +++ b/docs/_layouts/global.html @@ -7,7 +7,9 @@ meta charset=utf-8 meta http-equiv=X-UA-Compatible content=IE=edge,chrome=1 title{{ page.title }} - Spark {{site.SPARK_VERSION_SHORT}} Documentation/title -meta name=description content= +{% if page.description %} + meta name=description content={{page.description | replace: 'SPARK_VERSION_SHORT', site.SPARK_VERSION_SHORT}} +{% endif %} {% if page.redirect %} meta http-equiv=refresh content=0; url={{page.redirect}} http://git-wip-us.apache.org/repos/asf/spark/blob/4d74f060/docs/bagel-programming-guide.md -- diff --git a/docs/bagel-programming-guide.md b/docs/bagel-programming-guide.md index 7e55131..c2fe6b0 100644 --- a/docs/bagel-programming-guide.md +++ b/docs/bagel-programming-guide.md @@ -1,6 +1,7 @@ --- layout: global -title: Bagel Programming Guide +displayTitle: Bagel Programming Guide +title: Bagel --- **Bagel will soon be superseded by [GraphX](graphx-programming-guide.html); we recommend that new users try GraphX instead.** http://git-wip-us.apache.org/repos/asf/spark/blob/4d74f060/docs/configuration.md -- diff --git a/docs/configuration.md b/docs/configuration.md index 8b1d759..4c86cb7 100644 --- a/docs/configuration.md +++ b/docs/configuration.md @@ -1,6 +1,7 @@ --- layout: global -title: Spark Configuration +displayTitle: Spark Configuration +title: Configuration --- * This will become a table of contents (this text will be scraped). {:toc} http://git-wip-us.apache.org/repos/asf/spark/blob/4d74f060/docs/graphx-programming-guide.md -- diff --git a/docs/graphx-programming-guide.md b/docs/graphx-programming-guide.md index e298c51..826f6d8 100644 --- a/docs/graphx-programming-guide.md +++ b/docs/graphx-programming-guide.md @@ -1,6 +1,8 @@ --- layout: global -title: GraphX Programming Guide +displayTitle: GraphX Programming Guide +title: GraphX +description: GraphX graph processing library guide for Spark SPARK_VERSION_SHORT --- * This will become a table of contents (this text will be scraped). http://git-wip-us.apache.org/repos/asf/spark/blob/4d74f060/docs/index.md -- diff --git a/docs/index.md b/docs/index.md index 171d6dd..e006be6 100644 --- a/docs/index.md +++ b/docs/index.md @@ -1,6 +1,8 @@ --- layout: global -title: Spark Overview +displayTitle: Spark Overview +title: Overview +description: Apache Spark SPARK_VERSION_SHORT documentation homepage ---