You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by gr...@apache.org on 2017/10/20 17:39:12 UTC
[3/3] mesos git commit: Added the Getting Started landing page.
Added the Getting Started landing page.
After moving the build documentation to its own page, we can now have a
real "Getting Started" page suitable for anyone to get started with
Mesos. It is purposefully short, and therefore not overwhelming.
Review: https://reviews.apache.org/r/63095/
Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/b7147875
Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/b7147875
Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/b7147875
Branch: refs/heads/master
Commit: b71478750dce4a26d84c1840a4e6d73349a6f0db
Parents: 8386e22
Author: Andrew Schwartzmeyer <an...@schwartzmeyer.com>
Authored: Fri Oct 20 10:37:25 2017 -0700
Committer: Greg Mann <gr...@gmail.com>
Committed: Fri Oct 20 10:38:19 2017 -0700
----------------------------------------------------------------------
site/config.rb | 1 -
site/source/downloads.html.erb | 2 +-
site/source/getting-started.html.md | 20 ++++++++++++++++++++
site/source/index.html.erb | 2 +-
site/source/layouts/documentation.erb | 2 +-
site/source/layouts/getting_started_section.erb | 15 +++++++++++++++
site/source/layouts/layout.erb | 2 +-
7 files changed, 39 insertions(+), 5 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/mesos/blob/b7147875/site/config.rb
----------------------------------------------------------------------
diff --git a/site/config.rb b/site/config.rb
index 9e6738f..04bc7aa 100644
--- a/site/config.rb
+++ b/site/config.rb
@@ -43,7 +43,6 @@ end
page "/index.html", :layout => "basic"
page "/documentation/*", :layout => "documentation"
proxy "/documentation/index.html", "/documentation/latest.html", :layout => "documentation"
-proxy "/gettingstarted/index.html", "/documentation/latest/getting-started.html", :layout => "documentation"
latest_doc_pages = Dir.glob("./source/documentation/latest/*.md")
latest_doc_pages.each do |page_path|
page_name = File.basename(page_path, '.md')
http://git-wip-us.apache.org/repos/asf/mesos/blob/b7147875/site/source/downloads.html.erb
----------------------------------------------------------------------
diff --git a/site/source/downloads.html.erb b/site/source/downloads.html.erb
index 3e24100..758a552 100755
--- a/site/source/downloads.html.erb
+++ b/site/source/downloads.html.erb
@@ -42,7 +42,7 @@ breadcrumb: Downloads
</p>
<p>Once you have downloaded Mesos, follow the
- <a href="/gettingstarted/">getting started instructions</a>,
+ <a href="/getting-started/">getting started instructions</a>,
and take a look at the rest of the
<a href="/documentation/">Mesos documentation</a>.
</p>
http://git-wip-us.apache.org/repos/asf/mesos/blob/b7147875/site/source/getting-started.html.md
----------------------------------------------------------------------
diff --git a/site/source/getting-started.html.md b/site/source/getting-started.html.md
new file mode 100755
index 0000000..b03d800
--- /dev/null
+++ b/site/source/getting-started.html.md
@@ -0,0 +1,20 @@
+---
+title: Apache Mesos | Getting Started
+breadcrumb: Getting Started
+layout: getting_started_section
+---
+
+<h1>Getting Started</h1>
+
+<p>For a great introduction to building and running a distributed system with Apache Mesos, watch Benjamin Hindman's <a href="https://www.youtube.com/watch?v=hTcZGODnyf0">talk on YouTube</a>. If anything could be considered <i>required reading</i>, it would be the official white paper: <a href="https://people.eecs.berkeley.edu/~alig/papers/mesos.pdf">Mesos: A Platform for Fine-Grained Resource Sharing in the Data Center</a>.</p>
+
+<div class="row-fluid">
+ <h2 name="building">How To Build</h2>
+ <p>See the <a href="/documentation/latest/building">building documentation</a> to learn how to build Mesos from source on various platforms.</p>
+
+ <h2 name="contribute">Contribute</h2>
+ <p>Read the <a href="/documentation/latest/beginner-contribution">beginner contribution guide</a> for a first-time introduction to the process of contributing to Mesos. For the standard day-to-day workflow for advanced Mesos contributors, read our <a href="/documentation/latest/advanced-contribution">advanced contribution guide</a>. The latter guide also includes information on our core libraries, <b>stout</b> and <b>libprocess</b>, with which new developers should get familiar.</p>
+
+ <h2 name="community">Community</h2>
+ <p>Refer to the <a href="/community">community page</a> for our mailing lists, Slack, IRC, and JIRA issue tracker.</p>
+</div>
http://git-wip-us.apache.org/repos/asf/mesos/blob/b7147875/site/source/index.html.erb
----------------------------------------------------------------------
diff --git a/site/source/index.html.erb b/site/source/index.html.erb
index b4e847f..4bde97f 100755
--- a/site/source/index.html.erb
+++ b/site/source/index.html.erb
@@ -17,7 +17,7 @@ title: Apache Mesos
<div class="navbar-collapse collapse" id="mesos-menu">
<ul class="nav navbar-nav navbar-right">
- <li><a href="/gettingstarted/">Getting Started</a></li>
+ <li><a href="/getting-started/">Getting Started</a></li>
<li><a href="/blog/">Blog</a></li>
<li><a href="/documentation/latest/">Documentation</a></li>
<li><a href="/downloads/">Downloads</a></li>
http://git-wip-us.apache.org/repos/asf/mesos/blob/b7147875/site/source/layouts/documentation.erb
----------------------------------------------------------------------
diff --git a/site/source/layouts/documentation.erb b/site/source/layouts/documentation.erb
index a91f916..1f4772b 100644
--- a/site/source/layouts/documentation.erb
+++ b/site/source/layouts/documentation.erb
@@ -5,7 +5,7 @@ Documentation
<div class="row-fluid">
<div class="col-md-4">
<h4>If you're new to Mesos</h4>
- <p>See the <a href="/gettingstarted/">getting started</a> page for more
+ <p>See the <a href="/getting-started/">getting started</a> page for more
information about downloading, building, and deploying Mesos.</p>
<h4>If you'd like to get involved or you're looking for support</h4>
http://git-wip-us.apache.org/repos/asf/mesos/blob/b7147875/site/source/layouts/getting_started_section.erb
----------------------------------------------------------------------
diff --git a/site/source/layouts/getting_started_section.erb b/site/source/layouts/getting_started_section.erb
new file mode 100644
index 0000000..3b40267
--- /dev/null
+++ b/site/source/layouts/getting_started_section.erb
@@ -0,0 +1,15 @@
+<% wrap_layout :layout do %>
+<div class="row">
+ <div class="col-md-2">
+ <ul class="list-group">
+ <li class="list-group-item"><a href="/documentation/latest/building/">How To Build</a></li>
+ <li class="list-group-item"><a href="/documentation/latest/beginner-contribution">Beginner Contribution</a></li>
+ <li class="list-group-item"><a href="/documentation/latest/advanced-contribution">Advanced Contribution</a></li>
+ <li class="list-group-item"><a href="https://issues.apache.org/jira/browse/MESOS">JIRA Issue Tracker</a></li>
+ </li>
+ </div>
+ <div class="col-md-10">
+ <%= yield %>
+ </div>
+</div>
+<% end %>
http://git-wip-us.apache.org/repos/asf/mesos/blob/b7147875/site/source/layouts/layout.erb
----------------------------------------------------------------------
diff --git a/site/source/layouts/layout.erb b/site/source/layouts/layout.erb
index 9213c63..b396c1b 100755
--- a/site/source/layouts/layout.erb
+++ b/site/source/layouts/layout.erb
@@ -14,7 +14,7 @@
<div class="navbar-collapse collapse" id="mesos-menu">
<ul class="nav navbar-nav navbar-right">
- <li><a href="/gettingstarted/">Getting Started</a></li>
+ <li><a href="/getting-started/">Getting Started</a></li>
<li><a href="/blog/">Blog</a></li>
<li><a href="/documentation/latest/">Documentation</a></li>
<li><a href="/downloads/">Downloads</a></li>