Add Packet layout.

This commit is contained in:
Sam Handler 2015-10-09 17:41:55 -04:00
parent 295c9245bb
commit 3b3726675b
2 changed files with 33 additions and 0 deletions

View File

@ -20,6 +20,7 @@ body.layout-google,
body.layout-heroku, body.layout-heroku,
body.layout-mailgun, body.layout-mailgun,
body.layout-openstack, body.layout-openstack,
body.layout-packet,
body.layout-rundeck, body.layout-rundeck,
body.layout-template, body.layout-template,
body.layout-docs, body.layout-docs,

View File

@ -0,0 +1,32 @@
<% 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-home") %>>
<a href="/docs/providers/index.html">&laquo; Documentation Home</a>
</li>
<li<%= sidebar_current("docs-packet-index") %>>
<a href="/docs/providers/packet/index.html">Packet Provider</a>
</li>
<li<%= sidebar_current(/^docs-packet-resource/) %>>
<a href="#">Resources</a>
<ul class="nav nav-visible">
<li<%= sidebar_current("docs-packet-resource-device") %>>
<a href="/docs/providers/packet/r/device.html">packet_device</a>
</li>
<li<%= sidebar_current("docs-packet-resource-project") %>>
<a href="/docs/providers/packet/r/project.html">packet_project</a>
</li>
<li<%= sidebar_current("docs-packet-resource-ssh-key") %>>
<a href="/docs/providers/packet/r/ssh_key.html">packet_ssh_key</a>
</li>
</ul>
</li>
</ul>
</div>
<% end %>
<%= yield %>
<% end %>