<% wrap_layout :inner do %>
  <% content_for :sidebar do %>
    <h4><a href="/docs/registry/index.html">Terraform Registry</a></h4>

    <ul class="nav docs-sidenav">
      <li<%= sidebar_current("docs-registry-use") %>>
        <a href="/docs/registry/modules/use.html">Finding and Using Modules</a>
      </li>

      <li<%= sidebar_current("docs-registry-publish") %>>
        <a href="/docs/registry/modules/publish.html">Publishing Modules</a>
      </li>

      <li<%= sidebar_current("docs-registry-verified") %>>
        <a href="/docs/registry/modules/verified.html">Verified Modules</a>
      </li>

      <li<%= sidebar_current("docs-registry-private") %>>
        <a href="/docs/registry/private.html">Private Registries</a>
      </li>

      <li<%= sidebar_current("docs-registry-api") %>>
        <a href="/docs/registry/api.html">Registry API</a>
      </li>

      <li<%= sidebar_current("docs-registry-support") %>>
        <a href="/docs/registry/support.html">Registry Support</a>
      </li>
    </ul>

    <%= partial("layouts/otherdocs", :locals => { :skip => "Terraform Registry" }) %>
  <% end %>

  <%= yield %>
<% end %>
