From 8d299a9cc52a289719b03235f2cf32b186f710ed Mon Sep 17 00:00:00 2001 From: Jason Costello Date: Wed, 25 Jan 2017 11:49:17 -0800 Subject: [PATCH 1/5] Add guides section, primary nav item --- website/source/guides/index.html.markdown | 11 ++++ website/source/layouts/_header.erb | 1 + website/source/layouts/guides.erb | 66 +++++++++++++++++++++++ 3 files changed, 78 insertions(+) create mode 100644 website/source/guides/index.html.markdown create mode 100644 website/source/layouts/guides.erb diff --git a/website/source/guides/index.html.markdown b/website/source/guides/index.html.markdown new file mode 100644 index 000000000..0c6551889 --- /dev/null +++ b/website/source/guides/index.html.markdown @@ -0,0 +1,11 @@ +--- +layout: "guides" +page_title: "Guides" +sidebar_current: "what" +description: |- + Welcome to the Nomad guides! +--- + +# This is the home page for Guides + +Here is some content! diff --git a/website/source/layouts/_header.erb b/website/source/layouts/_header.erb index e8e27e91f..9fab78fd4 100644 --- a/website/source/layouts/_header.erb +++ b/website/source/layouts/_header.erb @@ -27,6 +27,7 @@ diff --git a/website/source/layouts/guides.erb b/website/source/layouts/guides.erb new file mode 100644 index 000000000..516e4ea1b --- /dev/null +++ b/website/source/layouts/guides.erb @@ -0,0 +1,66 @@ +<% wrap_layout :inner do %> + <% content_for :sidebar do %> + + <% end %> + + <%= yield %> +<% end %> From dee792f1574e4197beee89860b2aac9af27b76a0 Mon Sep 17 00:00:00 2001 From: Jason Costello Date: Wed, 25 Jan 2017 13:14:01 -0800 Subject: [PATCH 2/5] Wire up nav --- .../guides/some-guides/group.html.markdown | 15 +++++ .../guides/some-guides/one.html.markdown | 28 +++++++++ .../guides/some-guides/three.html.markdown | 28 +++++++++ .../guides/some-guides/two.html.markdown | 28 +++++++++ website/source/layouts/guides.erb | 58 ++++--------------- 5 files changed, 109 insertions(+), 48 deletions(-) create mode 100644 website/source/guides/some-guides/group.html.markdown create mode 100644 website/source/guides/some-guides/one.html.markdown create mode 100644 website/source/guides/some-guides/three.html.markdown create mode 100644 website/source/guides/some-guides/two.html.markdown diff --git a/website/source/guides/some-guides/group.html.markdown b/website/source/guides/some-guides/group.html.markdown new file mode 100644 index 000000000..fa29eb3b5 --- /dev/null +++ b/website/source/guides/some-guides/group.html.markdown @@ -0,0 +1,15 @@ +--- +layout: "guides" +page_title: "Guide Index" +sidebar_current: "some-guides" +description: |- + Index for a group in a group. +--- + +# The index for a group of guides + +It is an undisputed fact that distributed systems are hard; building +one is error-prone and time-consuming. As a result, few organizations +build a scheduler due to the inherent challenges. However, +most organizations must develop a means of deploying applications +and typically this evolves into an ad hoc deployment platform. diff --git a/website/source/guides/some-guides/one.html.markdown b/website/source/guides/some-guides/one.html.markdown new file mode 100644 index 000000000..53645a8b4 --- /dev/null +++ b/website/source/guides/some-guides/one.html.markdown @@ -0,0 +1,28 @@ +--- +layout: "guides" +page_title: "Guide One" +sidebar_current: "some-guides" +description: |- + First in a group. +--- + +# Guide to being rad + +It is an undisputed fact that distributed systems are hard; building +one is error-prone and time-consuming. As a result, few organizations +build a scheduler due to the inherent challenges. However, +most organizations must develop a means of deploying applications +and typically this evolves into an ad hoc deployment platform. + +These deployment platforms are typically special cased to the needs +of the organization at the time of development, reduce future agility, +and require time and resources to build and maintain. + +Nomad provides a high-level job specification to easily deploy applications. +It has been designed to work at large scale, with multi-datacenter and +multi-region support built in. Nomad also has extensible drivers giving it +flexibility in the workloads it supports, including Docker. + +Nomad provides organizations of any size a solution for deployment +that is simple, robust, and scalable. It reduces the time and effort spent +re-inventing the wheel and users can focus instead on their business applications. diff --git a/website/source/guides/some-guides/three.html.markdown b/website/source/guides/some-guides/three.html.markdown new file mode 100644 index 000000000..213d163a7 --- /dev/null +++ b/website/source/guides/some-guides/three.html.markdown @@ -0,0 +1,28 @@ +--- +layout: "guides" +page_title: "Guide One" +sidebar_current: "some-guides" +description: |- + First in a group. +--- + +# Guide to being rad three + +It is an undisputed fact that distributed systems are hard; building +one is error-prone and time-consuming. As a result, few organizations +build a scheduler due to the inherent challenges. However, +most organizations must develop a means of deploying applications +and typically this evolves into an ad hoc deployment platform. + +These deployment platforms are typically special cased to the needs +of the organization at the time of development, reduce future agility, +and require time and resources to build and maintain. + +Nomad provides a high-level job specification to easily deploy applications. +It has been designed to work at large scale, with multi-datacenter and +multi-region support built in. Nomad also has extensible drivers giving it +flexibility in the workloads it supports, including Docker. + +Nomad provides organizations of any size a solution for deployment +that is simple, robust, and scalable. It reduces the time and effort spent +re-inventing the wheel and users can focus instead on their business applications. diff --git a/website/source/guides/some-guides/two.html.markdown b/website/source/guides/some-guides/two.html.markdown new file mode 100644 index 000000000..a5350f6b0 --- /dev/null +++ b/website/source/guides/some-guides/two.html.markdown @@ -0,0 +1,28 @@ +--- +layout: "guides" +page_title: "Guide One" +sidebar_current: "some-guides" +description: |- + First in a group. +--- + +# Guide to being rad twoooooo + +It is an undisputed fact that distributed systems are hard; building +one is error-prone and time-consuming. As a result, few organizations +build a scheduler due to the inherent challenges. However, +most organizations must develop a means of deploying applications +and typically this evolves into an ad hoc deployment platform. + +These deployment platforms are typically special cased to the needs +of the organization at the time of development, reduce future agility, +and require time and resources to build and maintain. + +Nomad provides a high-level job specification to easily deploy applications. +It has been designed to work at large scale, with multi-datacenter and +multi-region support built in. Nomad also has extensible drivers giving it +flexibility in the workloads it supports, including Docker. + +Nomad provides organizations of any size a solution for deployment +that is simple, robust, and scalable. It reduces the time and effort spent +re-inventing the wheel and users can focus instead on their business applications. diff --git a/website/source/layouts/guides.erb b/website/source/layouts/guides.erb index 516e4ea1b..bc2ef4a04 100644 --- a/website/source/layouts/guides.erb +++ b/website/source/layouts/guides.erb @@ -2,59 +2,21 @@ <% content_for :sidebar do %>