website: Use a middleman partial for "other docs" list instead of hardcoding it
This relies on a commit in the terraform-website repo, and should make updating that list much less annoying.
This commit is contained in:
parent
4abdad7ab9
commit
094a5d65d3
|
@ -72,37 +72,7 @@
|
|||
</li>
|
||||
</ul>
|
||||
|
||||
<h4>Other Docs</h4>
|
||||
|
||||
<ul class="nav docs-sidenav">
|
||||
<li>
|
||||
<a class="back" href="/downloads.html">Download Terraform</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a class="back" href="/intro/index.html">Introduction to Terraform</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a class="back" href="/docs/enterprise/index.html">Terraform Enterprise</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a class="back" href="/guides/index.html">Guides and Whitepapers</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a class="back" href="/docs/registry/index.html">Terraform Registry</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a class="back" href="/docs/github-actions/index.html">Terraform GitHub Actions</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a class="back" href="/docs/extend/index.html">Extending Terraform</a>
|
||||
</li>
|
||||
</ul>
|
||||
<%= partial("layouts/otherdocs", :locals => { :skip => "Terraform CLI" }) %>
|
||||
<% end %>
|
||||
|
||||
<%= yield %>
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
<% wrap_layout :inner do %>
|
||||
<% content_for :sidebar do %>
|
||||
<h4><a href="/docs/index.html">Terraform CLI</a></h4>
|
||||
|
||||
|
||||
<ul class="nav docs-sidenav">
|
||||
<li<%= sidebar_current("docs-commands") %>>
|
||||
<a class="back" href="/docs/commands/index.html">Commands (CLI)</a>
|
||||
<ul class="nav">
|
||||
|
||||
|
||||
<li<%= sidebar_current("docs-commands-providers") %>>
|
||||
<a href="/docs/commands/providers.html">providers</a>
|
||||
<ul class="nav">
|
||||
|
@ -15,44 +15,15 @@
|
|||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
|
||||
|
||||
</ul>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
|
||||
<h4>Other Docs</h4>
|
||||
|
||||
<ul class="nav docs-sidenav">
|
||||
<li>
|
||||
<a class="back" href="/downloads.html">Download Terraform</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a class="back" href="/intro/index.html">Introduction to Terraform</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a class="back" href="/docs/enterprise/index.html">Terraform Enterprise</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a class="back" href="/guides/index.html">Guides and Whitepapers</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a class="back" href="/docs/registry/index.html">Terraform Registry</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a class="back" href="/docs/github-actions/index.html">Terraform GitHub Actions</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a class="back" href="/docs/extend/index.html">Extending Terraform</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
|
||||
<%= partial("layouts/otherdocs", :locals => { :skip => "Terraform CLI" }) %>
|
||||
|
||||
<% end %>
|
||||
|
||||
|
||||
<%= yield %>
|
||||
<% end %>
|
||||
<% end %>
|
|
@ -45,37 +45,8 @@
|
|||
|
||||
</ul>
|
||||
|
||||
<h4>Other Docs</h4>
|
||||
<%= partial("layouts/otherdocs", :locals => { :skip => "Terraform CLI" }) %>
|
||||
|
||||
<ul class="nav docs-sidenav">
|
||||
<li>
|
||||
<a class="back" href="/downloads.html">Download Terraform</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a class="back" href="/intro/index.html">Introduction to Terraform</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a class="back" href="/docs/enterprise/index.html">Terraform Enterprise</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a class="back" href="/guides/index.html">Guides and Whitepapers</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a class="back" href="/docs/registry/index.html">Terraform Registry</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a class="back" href="/docs/github-actions/index.html">Terraform GitHub Actions</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a class="back" href="/docs/extend/index.html">Extending Terraform</a>
|
||||
</li>
|
||||
</ul>
|
||||
<% end %>
|
||||
|
||||
<%= yield %>
|
||||
|
|
|
@ -33,37 +33,8 @@
|
|||
|
||||
</ul>
|
||||
|
||||
<h4>Other Docs</h4>
|
||||
<%= partial("layouts/otherdocs", :locals => { :skip => "Terraform CLI" }) %>
|
||||
|
||||
<ul class="nav docs-sidenav">
|
||||
<li>
|
||||
<a class="back" href="/downloads.html">Download Terraform</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a class="back" href="/intro/index.html">Introduction to Terraform</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a class="back" href="/docs/enterprise/index.html">Terraform Enterprise</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a class="back" href="/guides/index.html">Guides and Whitepapers</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a class="back" href="/docs/registry/index.html">Terraform Registry</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a class="back" href="/docs/github-actions/index.html">Terraform GitHub Actions</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a class="back" href="/docs/extend/index.html">Extending Terraform</a>
|
||||
</li>
|
||||
</ul>
|
||||
<% end %>
|
||||
|
||||
<%= yield %>
|
||||
|
|
|
@ -451,37 +451,7 @@
|
|||
|
||||
</ul>
|
||||
|
||||
<h4>Other Docs</h4>
|
||||
|
||||
<ul class="nav docs-sidenav">
|
||||
<li>
|
||||
<a class="back" href="/downloads.html">Download Terraform</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a class="back" href="/intro/index.html">Introduction to Terraform</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a class="back" href="/docs/enterprise/index.html">Terraform Enterprise</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a class="back" href="/guides/index.html">Guides and Whitepapers</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a class="back" href="/docs/registry/index.html">Terraform Registry</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a class="back" href="/docs/github-actions/index.html">Terraform GitHub Actions</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a class="back" href="/docs/extend/index.html">Extending Terraform</a>
|
||||
</li>
|
||||
</ul>
|
||||
<%= partial("layouts/otherdocs", :locals => { :skip => "Terraform CLI" }) %>
|
||||
<% end %>
|
||||
|
||||
<%= yield %>
|
||||
|
|
|
@ -12,37 +12,7 @@
|
|||
</li>
|
||||
</ul>
|
||||
|
||||
<h4>Other Docs</h4>
|
||||
|
||||
<ul class="nav docs-sidenav">
|
||||
<li>
|
||||
<a class="back" href="/intro/index.html">Introduction to Terraform</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a class="back" href="/docs/index.html">Terraform CLI</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a class="back" href="/docs/enterprise/index.html">Terraform Enterprise</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a class="back" href="/guides/index.html">Guides and Whitepapers</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a class="back" href="/docs/registry/index.html">Terraform Registry</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a class="back" href="/docs/github-actions/index.html">Terraform GitHub Actions</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a class="back" href="/docs/extend/index.html">Extending Terraform</a>
|
||||
</li>
|
||||
</ul>
|
||||
<%= partial("layouts/otherdocs", :locals => { :skip => "Download Terraform" }) %>
|
||||
<% end %>
|
||||
|
||||
<%= yield %>
|
||||
|
|
|
@ -420,37 +420,7 @@
|
|||
</li>
|
||||
</ul>
|
||||
|
||||
<h4>Other Docs</h4>
|
||||
|
||||
<ul class="nav docs-sidenav">
|
||||
<li>
|
||||
<a class="back" href="/downloads.html">Download Terraform</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a class="back" href="/intro/index.html">Introduction to Terraform</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a class="back" href="/docs/enterprise/index.html">Terraform Enterprise</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a class="back" href="/guides/index.html">Guides and Whitepapers</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a class="back" href="/docs/registry/index.html">Terraform Registry</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a class="back" href="/docs/github-actions/index.html">Terraform GitHub Actions</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a class="back" href="/docs/extend/index.html">Extending Terraform</a>
|
||||
</li>
|
||||
</ul>
|
||||
<%= partial("layouts/otherdocs", :locals => { :skip => "Terraform CLI" }) %>
|
||||
<% end %>
|
||||
|
||||
<%= yield %>
|
||||
|
|
|
@ -52,37 +52,7 @@
|
|||
</li>
|
||||
</ul>
|
||||
|
||||
<h4>Other Docs</h4>
|
||||
|
||||
<ul class="nav docs-sidenav">
|
||||
<li>
|
||||
<a class="back" href="/downloads.html">Download Terraform</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a class="back" href="/intro/index.html">Introduction to Terraform</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a class="back" href="/docs/index.html">Terraform CLI</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a class="back" href="/docs/enterprise/index.html">Terraform Enterprise</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a class="back" href="/docs/registry/index.html">Terraform Registry</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a class="back" href="/docs/github-actions/index.html">Terraform GitHub Actions</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a class="back" href="/docs/extend/index.html">Extending Terraform</a>
|
||||
</li>
|
||||
</ul>
|
||||
<%= partial("layouts/otherdocs", :locals => { :skip => "Guides and Whitepapers" }) %>
|
||||
<% end %>
|
||||
|
||||
<%= yield %>
|
||||
|
|
|
@ -92,37 +92,7 @@
|
|||
</li>
|
||||
</ul>
|
||||
|
||||
<h4>Other Docs</h4>
|
||||
|
||||
<ul class="nav docs-sidenav">
|
||||
<li>
|
||||
<a class="back" href="/downloads.html">Download Terraform</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a class="back" href="/docs/index.html">Terraform CLI</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a class="back" href="/docs/enterprise/index.html">Terraform Enterprise</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a class="back" href="/guides/index.html">Guides and Whitepapers</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a class="back" href="/docs/registry/index.html">Terraform Registry</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a class="back" href="/docs/github-actions/index.html">Terraform GitHub Actions</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a class="back" href="/docs/extend/index.html">Extending Terraform</a>
|
||||
</li>
|
||||
</ul>
|
||||
<%= partial("layouts/otherdocs", :locals => { :skip => "Introduction to Terraform" }) %>
|
||||
<% end %>
|
||||
|
||||
<%= yield %>
|
||||
|
|
|
@ -28,37 +28,7 @@
|
|||
</li>
|
||||
</ul>
|
||||
|
||||
<h4>Other Docs</h4>
|
||||
|
||||
<ul class="nav docs-sidenav">
|
||||
<li>
|
||||
<a class="back" href="/downloads.html">Download Terraform</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a class="back" href="/intro/index.html">Introduction to Terraform</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a class="back" href="/docs/index.html">Terraform CLI</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a class="back" href="/docs/enterprise/index.html">Terraform Enterprise</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a class="back" href="/guides/index.html">Guides and Whitepapers</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a class="back" href="/docs/github-actions/index.html">Terraform GitHub Actions</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a class="back" href="/docs/extend/index.html">Extending Terraform</a>
|
||||
</li>
|
||||
</ul>
|
||||
<%= partial("layouts/otherdocs", :locals => { :skip => "Terraform Registry" }) %>
|
||||
<% end %>
|
||||
|
||||
<%= yield %>
|
||||
|
|
Loading…
Reference in New Issue