Add guides section, primary nav item

This commit is contained in:
Jason Costello 2017-01-25 11:49:17 -08:00
parent 1e3ffec95f
commit 8d299a9cc5
3 changed files with 78 additions and 0 deletions

View File

@ -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!

View File

@ -27,6 +27,7 @@
</ul>
<ul class="main-links nav navbar-nav navbar-right">
<li class="first li-under"><a href="/intro/index.html">Intro</a></li>
<li class="first li-under"><a href="/guides/index.html">Guides</a></li>
<li class="li-under"><a href="/docs/index.html">Docs</a></li>
<li class="li-under"><a href="/community.html">Community</a></li>
</ul>

View File

@ -0,0 +1,66 @@
<% wrap_layout :inner do %>
<% content_for :sidebar do %>
<div class="docs-sidebar hidden-print affix-top" role="complementary">
<ul class="nav docs-sidenav">
<li<%= sidebar_current("docs-installing") %>>
<a href="/docs/install/index.html">Guide One</a>
</li>
<li<%= sidebar_current("docs-cluster") %>>
<a href="/docs/cluster/bootstrapping.html">A Group of guides</a>
<ul class="nav">
<li<%= sidebar_current("docs-cluster-automatic") %>>
<a href="/docs/cluster/automatic.html">Automatic</a>
</li>
<li<%= sidebar_current("docs-cluster-manual") %>>
<a href="/docs/cluster/manual.html">Manual</a>
</li>
<li<%= sidebar_current("docs-cluster-federation") %>>
<a href="/docs/cluster/federation.html">Federation</a>
</li>
<li<%= sidebar_current("docs-cluster-requirements") %>>
<a href="/docs/cluster/requirements.html">Requirements</a>
</li>
</ul>
</li>
<li<%= sidebar_current("docs-operating-a-job") %>>
<a href="/docs/operating-a-job/index.html">A second group of guides</a>
<ul class="nav">
<li<%= sidebar_current("docs-operating-a-job-configuring-tasks") %>>
<a href="/docs/operating-a-job/configuring-tasks.html">Configuring Tasks</a>
</li>
<li<%= sidebar_current("docs-operating-a-job-submitting-jobs") %>>
<a href="/docs/operating-a-job/submitting-jobs.html">Submitting Jobs</a>
</li>
<li<%= sidebar_current("docs-operating-a-job-inspecting-state") %>>
<a href="/docs/operating-a-job/inspecting-state.html">Inspecting State</a>
</li>
<li<%= sidebar_current("docs-operating-a-job-accessing-logs") %>>
<a href="/docs/operating-a-job/accessing-logs.html">Accessing Logs</a>
</li>
<li<%= sidebar_current("docs-operating-a-job-resource-utilization") %>>
<a href="/docs/operating-a-job/resource-utilization.html">Resource Utilization</a>
</li>
<li<%= sidebar_current("docs-operating-a-job-updating") %>>
<a href="/docs/operating-a-job/update-strategies/index.html">Update Strategies</a>
<ul class="nav">
<li<%= sidebar_current("docs-operating-a-job-updating-rolling-upgrades") %>>
<a href="/docs/operating-a-job/update-strategies/rolling-upgrades.html">Rolling Upgrades</a>
</li>
<li<%= sidebar_current("docs-operating-a-job-updating-blue-green-deployments") %>>
<a href="/docs/operating-a-job/update-strategies/blue-green-and-canary-deployments.html">Blue/Green &amp; Canary</a>
</li>
<li<%= sidebar_current("docs-operating-a-job-updating-handling-signals") %>>
<a href="/docs/operating-a-job/update-strategies/handling-signals.html">Handling Signals</a>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<% end %>
<%= yield %>
<% end %>