website: Reorganize nav sidebars to improve jumps between sections

This commit is contained in:
Nick Fagerlund 2018-12-20 18:18:13 -08:00 committed by Nick Fagerlund
parent a8f97a0805
commit 0fddabf972
32 changed files with 881 additions and 606 deletions

View File

@ -1,7 +1,7 @@
--- ---
layout: "backend-types" layout: "backend-types"
page_title: "Backend Type: etcd" page_title: "Backend Type: etcd"
sidebar_current: "docs-backends-types-standard-etcd" sidebar_current: "docs-backends-types-standard-etcdv2"
description: |- description: |-
Terraform can store state remotely in etcd 2.x. Terraform can store state remotely in etcd 2.x.
--- ---

View File

@ -1,7 +1,7 @@
--- ---
layout: "docs" layout: "docs"
page_title: "Command: env" page_title: "Command: env"
sidebar_current: "docs-commands-env" sidebar_current: "docs-commands-envcmd"
description: |- description: |-
The terraform env command is a deprecated, legacy form of "terraform workspace". The terraform env command is a deprecated, legacy form of "terraform workspace".
--- ---

View File

@ -1,7 +1,7 @@
--- ---
layout: "commands-state" layout: "commands-state"
page_title: "Command: state resource addressing" page_title: "Command: state resource addressing"
sidebar_current: "docs-state-address" sidebar_current: "docs-commands-state-address"
description: |- description: |-
The `terraform state` command is used for advanced state management. The `terraform state` command is used for advanced state management.
--- ---

View File

@ -1,7 +1,7 @@
--- ---
layout: "commands-state" layout: "commands-state"
page_title: "Command: state" page_title: "Command: state"
sidebar_current: "docs-state-index" sidebar_current: "docs-commands-state-index"
description: |- description: |-
The `terraform state` command is used for advanced state management. The `terraform state` command is used for advanced state management.
--- ---

View File

@ -1,7 +1,7 @@
--- ---
layout: "commands-state" layout: "commands-state"
page_title: "Command: state list" page_title: "Command: state list"
sidebar_current: "docs-state-sub-list" sidebar_current: "docs-commands-state-sub-list"
description: |- description: |-
The terraform state list command is used to list resources within a Terraform state. The terraform state list command is used to list resources within a Terraform state.
--- ---

View File

@ -1,7 +1,7 @@
--- ---
layout: "commands-state" layout: "commands-state"
page_title: "Command: state mv" page_title: "Command: state mv"
sidebar_current: "docs-state-sub-mv" sidebar_current: "docs-commands-state-sub-mv"
description: |- description: |-
The `terraform state mv` command moves items in the Terraform state. The `terraform state mv` command moves items in the Terraform state.
--- ---

View File

@ -1,7 +1,7 @@
--- ---
layout: "commands-state" layout: "commands-state"
page_title: "Command: state pull" page_title: "Command: state pull"
sidebar_current: "docs-state-sub-pull" sidebar_current: "docs-commands-state-sub-pull"
description: |- description: |-
The `terraform state pull` command is used to manually download and output the state from remote state. The `terraform state pull` command is used to manually download and output the state from remote state.
--- ---

View File

@ -1,7 +1,7 @@
--- ---
layout: "commands-state" layout: "commands-state"
page_title: "Command: state push" page_title: "Command: state push"
sidebar_current: "docs-state-sub-push" sidebar_current: "docs-commands-state-sub-push"
description: |- description: |-
The `terraform state push` command pushes items to the Terraform state. The `terraform state push` command pushes items to the Terraform state.
--- ---

View File

@ -1,7 +1,7 @@
--- ---
layout: "commands-state" layout: "commands-state"
page_title: "Command: state rm" page_title: "Command: state rm"
sidebar_current: "docs-state-sub-rm" sidebar_current: "docs-commands-state-sub-rm"
description: |- description: |-
The `terraform state rm` command removes items from the Terraform state. The `terraform state rm` command removes items from the Terraform state.
--- ---

View File

@ -1,7 +1,7 @@
--- ---
layout: "commands-state" layout: "commands-state"
page_title: "Command: state show" page_title: "Command: state show"
sidebar_current: "docs-state-sub-show" sidebar_current: "docs-commands-state-sub-show"
description: |- description: |-
The `terraform state show` command is used to show the attributes of a single resource in the Terraform state. The `terraform state show` command is used to show the attributes of a single resource in the Terraform state.
--- ---

View File

@ -1,7 +1,7 @@
--- ---
layout: "commands-workspace" layout: "commands-workspace"
page_title: "Command: workspace delete" page_title: "Command: workspace delete"
sidebar_current: "docs-workspace-sub-delete" sidebar_current: "docs-commands-workspace-sub-delete"
description: |- description: |-
The terraform workspace delete command is used to delete a workspace. The terraform workspace delete command is used to delete a workspace.
--- ---

View File

@ -1,7 +1,7 @@
--- ---
layout: "commands-workspace" layout: "commands-workspace"
page_title: "Command: workspace" page_title: "Command: workspace"
sidebar_current: "docs-workspace-index" sidebar_current: "docs-commands-workspace-index"
description: |- description: |-
The terraform workspace command is used to manage workspaces. The terraform workspace command is used to manage workspaces.
--- ---

View File

@ -1,7 +1,7 @@
--- ---
layout: "commands-workspace" layout: "commands-workspace"
page_title: "Command: workspace list" page_title: "Command: workspace list"
sidebar_current: "docs-workspace-sub-list" sidebar_current: "docs-commands-workspace-sub-list"
description: |- description: |-
The terraform workspace list command is used to list all existing workspaces. The terraform workspace list command is used to list all existing workspaces.
--- ---

View File

@ -1,7 +1,7 @@
--- ---
layout: "commands-workspace" layout: "commands-workspace"
page_title: "Command: workspace new" page_title: "Command: workspace new"
sidebar_current: "docs-workspace-sub-new" sidebar_current: "docs-commands-workspace-sub-new"
description: |- description: |-
The terraform workspace new command is used to create a new workspace. The terraform workspace new command is used to create a new workspace.
--- ---

View File

@ -1,7 +1,7 @@
--- ---
layout: "commands-workspace" layout: "commands-workspace"
page_title: "Command: workspace select" page_title: "Command: workspace select"
sidebar_current: "docs-workspace-sub-select" sidebar_current: "docs-commands-workspace-sub-select"
description: |- description: |-
The terraform workspace select command is used to choose a workspace. The terraform workspace select command is used to choose a workspace.
--- ---

View File

@ -1,5 +1,5 @@
--- ---
layout: "guides" layout: "extend"
page_title: "Terraform Provider Development Program" page_title: "Terraform Provider Development Program"
sidebar_current: "guides-terraform-provider-development-program" sidebar_current: "guides-terraform-provider-development-program"
description: This guide is intended for vendors who're interested in having their platform supported by Teraform. The guide walks vendors through the steps involved in creating a provider and applying for it to be included with Terraform. description: This guide is intended for vendors who're interested in having their platform supported by Teraform. The guide walks vendors through the steps involved in creating a provider and applying for it to be included with Terraform.

View File

@ -1,17 +1,18 @@
<% wrap_layout :inner do %> <% wrap_layout :inner do %>
<% content_for :sidebar do %> <% content_for :sidebar do %>
<h4><a href="/docs/index.html">Terraform CLI</a></h4>
<ul class="nav docs-sidenav"> <ul class="nav docs-sidenav">
<li> <li<%= sidebar_current("docs-backends") %>>
<a class="back" href="/docs/backends/index.html">Backends</a> <a class="back" href="/docs/backends/index.html">Backends</a>
</li> <ul class="nav nav-visible">
<li<%= sidebar_current("docs-backends-types-index") %>> <li<%= sidebar_current("docs-backends-types") %>>
<a class="back" href="/docs/backends/types/index.html">Backend Types</a> <a href="/docs/backends/types/index.html">Backend Types</a>
</li> <ul class="nav nav-visible">
<h4>Enhanced Backends</h4> <li id="docs-backends-types-enhanced"<%= sidebar_current("docs-backends-types-enhanced-") %>>
<a href="#docs-backends-types-enhanced">Enhanced Backends</a>
<li<%= sidebar_current("docs-backends-types-enhanced-") %>>
<ul class="nav nav-visible"> <ul class="nav nav-visible">
<li<%= sidebar_current("docs-backends-types-enhanced-local") %>> <li<%= sidebar_current("docs-backends-types-enhanced-local") %>>
<a href="/docs/backends/types/local.html">local</a> <a href="/docs/backends/types/local.html">local</a>
@ -22,9 +23,9 @@
</ul> </ul>
</li> </li>
<h4>Standard Backends</h4>
<li<%= sidebar_current("docs-backends-types-standard-") %>> <li id="docs-backends-types-standard"<%= sidebar_current("docs-backends-types-standard-") %>>
<a href=#docs-backends-types-standard>Standard Backends</a>
<ul class="nav nav-visible"> <ul class="nav nav-visible">
<li<%= sidebar_current("docs-backends-types-standard-artifactory") %>> <li<%= sidebar_current("docs-backends-types-standard-artifactory") %>>
<a href="/docs/backends/types/artifactory.html">artifactory</a> <a href="/docs/backends/types/artifactory.html">artifactory</a>
@ -35,7 +36,7 @@
<li<%= sidebar_current("docs-backends-types-standard-consul") %>> <li<%= sidebar_current("docs-backends-types-standard-consul") %>>
<a href="/docs/backends/types/consul.html">consul</a> <a href="/docs/backends/types/consul.html">consul</a>
</li> </li>
<li<%= sidebar_current("docs-backends-types-standard-etcd") %>> <li<%= sidebar_current("docs-backends-types-standard-etcdv2") %>>
<a href="/docs/backends/types/etcd.html">etcd</a> <a href="/docs/backends/types/etcd.html">etcd</a>
</li> </li>
<li<%= sidebar_current("docs-backends-types-standard-etcdv3") %>> <li<%= sidebar_current("docs-backends-types-standard-etcdv3") %>>
@ -62,6 +63,43 @@
</ul> </ul>
</li> </li>
</ul> </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>
<% end %> <% end %>
<%= yield %> <%= yield %>

View File

@ -1,49 +1,81 @@
<% wrap_layout :inner do %> <% wrap_layout :inner do %>
<% content_for :sidebar do %> <% content_for :sidebar do %>
<div class="docs-sidebar hidden-print affix-top" role="complementary"> <h4><a href="/docs/index.html">Terraform CLI</a></h4>
<ul class="nav docs-sidenav"> <ul class="nav docs-sidenav">
<li<%= sidebar_current("docs-home") %>> <li<%= sidebar_current("docs-commands") %>>
<a href="/docs/commands/index.html">All Commands</a> <a class="back" href="/docs/commands/index.html">Commands (CLI)</a>
</li> <ul class="nav">
<li<%= sidebar_current("docs-state-index") %>> <li<%= sidebar_current("docs-commands-state") %>>
<a href="/docs/commands/state/index.html">State Command</a> <a href="/docs/commands/state/index.html">state</a>
</li> <ul class="nav">
<li<%= sidebar_current("docs-commands-state-address") %>>
<li<%= sidebar_current("docs-state-address") %>>
<a href="/docs/commands/state/addressing.html">Resource Addressing</a> <a href="/docs/commands/state/addressing.html">Resource Addressing</a>
</li> </li>
<li<%= sidebar_current("docs-state-sub") %>> <li<%= sidebar_current("docs-commands-state-sub-list") %>>
<a href="#">Subcommands</a>
<ul class="nav nav-visible">
<li<%= sidebar_current("docs-state-sub-list") %>>
<a href="/docs/commands/state/list.html">list</a> <a href="/docs/commands/state/list.html">list</a>
</li> </li>
<li<%= sidebar_current("docs-state-sub-mv") %>> <li<%= sidebar_current("docs-commands-state-sub-mv") %>>
<a href="/docs/commands/state/mv.html">mv</a> <a href="/docs/commands/state/mv.html">mv</a>
</li> </li>
<li<%= sidebar_current("docs-state-sub-pull") %>> <li<%= sidebar_current("docs-commands-state-sub-pull") %>>
<a href="/docs/commands/state/pull.html">pull</a> <a href="/docs/commands/state/pull.html">pull</a>
</li> </li>
<li<%= sidebar_current("docs-state-sub-push") %>> <li<%= sidebar_current("docs-commands-state-sub-push") %>>
<a href="/docs/commands/state/push.html">push</a> <a href="/docs/commands/state/push.html">push</a>
</li> </li>
<li<%= sidebar_current("docs-state-sub-rm") %>> <li<%= sidebar_current("docs-commands-state-sub-rm") %>>
<a href="/docs/commands/state/rm.html">rm</a> <a href="/docs/commands/state/rm.html">rm</a>
</li> </li>
<li<%= sidebar_current("docs-state-sub-show") %>> <li<%= sidebar_current("docs-commands-state-sub-show") %>>
<a href="/docs/commands/state/show.html">show</a> <a href="/docs/commands/state/show.html">show</a>
</li> </li>
</ul> </ul>
</li> </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> </ul>
</div>
<% end %> <% end %>
<%= yield %> <%= yield %>

View File

@ -1,37 +1,69 @@
<% wrap_layout :inner do %> <% wrap_layout :inner do %>
<% content_for :sidebar do %> <% content_for :sidebar do %>
<div class="docs-sidebar hidden-print affix-top" role="complementary"> <h4><a href="/docs/index.html">Terraform CLI</a></h4>
<ul class="nav docs-sidenav"> <ul class="nav docs-sidenav">
<li<%= sidebar_current("docs-home") %>> <li<%= sidebar_current("docs-commands") %>>
<a href="/docs/commands/index.html">All Commands</a> <a class="back" href="/docs/commands/index.html">Commands (CLI)</a>
</li> <ul class="nav">
<li<%= sidebar_current("docs-workspace-index") %>> <li<%= sidebar_current("docs-commands-workspace") %>>
<a href="/docs/commands/workspace/index.html">Workspace Command</a> <a href="/docs/commands/workspace/index.html">workspace</a>
</li> <ul class="nav">
<li<%= sidebar_current("docs-commands-workspace-sub-list") %>>
<li<%= sidebar_current("docs-workspace-sub") %>>
<a href="#">Subcommands</a>
<ul class="nav nav-visible">
<li<%= sidebar_current("docs-workspace-sub-list") %>>
<a href="/docs/commands/workspace/list.html">list</a> <a href="/docs/commands/workspace/list.html">list</a>
</li> </li>
<li<%= sidebar_current("docs-workspace-sub-select") %>> <li<%= sidebar_current("docs-commands-workspace-sub-select") %>>
<a href="/docs/commands/workspace/select.html">select</a> <a href="/docs/commands/workspace/select.html">select</a>
</li> </li>
<li<%= sidebar_current("docs-workspace-sub-new") %>> <li<%= sidebar_current("docs-commands-workspace-sub-new") %>>
<a href="/docs/commands/workspace/new.html">new</a> <a href="/docs/commands/workspace/new.html">new</a>
</li> </li>
<li<%= sidebar_current("docs-workspace-sub-delete") %>> <li<%= sidebar_current("docs-commands-workspace-sub-delete") %>>
<a href="/docs/commands/workspace/delete.html">delete</a> <a href="/docs/commands/workspace/delete.html">delete</a>
</li> </li>
</ul> </ul>
</li> </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> </ul>
</div>
<% end %> <% end %>
<%= yield %> <%= yield %>

View File

@ -1,5 +1,7 @@
<% wrap_layout :inner do %> <% wrap_layout :inner do %>
<% content_for :sidebar do %> <% content_for :sidebar do %>
<h4><a href="/docs/index.html">Terraform CLI</a></h4>
<ul class="nav docs-sidenav"> <ul class="nav docs-sidenav">
<li<%= sidebar_current("docs-config") %>> <li<%= sidebar_current("docs-config") %>>
<a href="/docs/configuration/index.html">Configuration Language</a> <a href="/docs/configuration/index.html">Configuration Language</a>
@ -69,6 +71,14 @@
<li<%= sidebar_current("docs-commands") %>> <li<%= sidebar_current("docs-commands") %>>
<a href="/docs/commands/index.html">Commands (CLI)</a> <a href="/docs/commands/index.html">Commands (CLI)</a>
<ul class="nav"> <ul class="nav">
<li<%= sidebar_current("docs-commands-cli-config") %>>
<a href="/docs/commands/cli-config.html">CLI Config File</a>
</li>
<li<%= sidebar_current("docs-commands-environment-variables") %>>
<a href="/docs/commands/environment-variables.html">Environment Variables</a>
</li>
<li<%= sidebar_current("docs-commands-apply") %>> <li<%= sidebar_current("docs-commands-apply") %>>
<a href="/docs/commands/apply.html">apply</a> <a href="/docs/commands/apply.html">apply</a>
</li> </li>
@ -81,7 +91,7 @@
<a href="/docs/commands/destroy.html">destroy</a> <a href="/docs/commands/destroy.html">destroy</a>
</li> </li>
<li<%= sidebar_current("docs-commands-env") %>> <li<%= sidebar_current("docs-commands-envcmd") %>>
<a href="/docs/commands/env.html">env</a> <a href="/docs/commands/env.html">env</a>
</li> </li>
@ -152,14 +162,6 @@
<li<%= sidebar_current("docs-commands-workspace") %>> <li<%= sidebar_current("docs-commands-workspace") %>>
<a href="/docs/commands/workspace/index.html">workspace</a> <a href="/docs/commands/workspace/index.html">workspace</a>
</li> </li>
<li<%= sidebar_current("docs-commands-cli-config") %>>
<a href="/docs/commands/cli-config.html">CLI Config File</a>
</li>
<li<%= sidebar_current("docs-commands-environment-variables") %>>
<a href="/docs/commands/environment-variables.html">Environment Variables</a>
</li>
</ul> </ul>
</li> </li>
@ -295,10 +297,6 @@
<a href="/docs/modules/sources.html">Sources</a> <a href="/docs/modules/sources.html">Sources</a>
</li> </li>
<li<%= sidebar_current("docs-registry") %>>
<a href="/docs/registry/index.html">Registry</a>
</li>
<li<%= sidebar_current("docs-modules-create") %>> <li<%= sidebar_current("docs-modules-create") %>>
<a href="/docs/modules/create.html">Creating Modules</a> <a href="/docs/modules/create.html">Creating Modules</a>
</li> </li>
@ -376,20 +374,38 @@
</ul> </ul>
</li> </li>
<hr> </ul>
<li<%= sidebar_current("docs-enterprise2-home") %>> <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> <a class="back" href="/docs/enterprise/index.html">Terraform Enterprise</a>
</li> </li>
<li<%= sidebar_current("docs-enterprise-home") %>> <li>
<a class="back" href="/docs/enterprise-legacy/index.html">Terraform Enterprise (legacy)</a> <a class="back" href="/guides/index.html">Guides and Whitepapers</a>
</li> </li>
<li<%= sidebar_current("docs-github-actions-home") %>> <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> <a class="back" href="/docs/github-actions/index.html">Terraform GitHub Actions</a>
</li> </li>
<li>
<a class="back" href="/docs/extend/index.html">Extending Terraform</a>
</li>
</ul> </ul>
<% end %> <% end %>

View File

@ -1,5 +1,7 @@
<% wrap_layout :inner do %> <% wrap_layout :inner do %>
<% content_for :sidebar do %> <% content_for :sidebar do %>
<h4><a href="/downloads.html">Downloads</a></h4>
<ul class="nav docs-sidenav"> <ul class="nav docs-sidenav">
<li<%= sidebar_current("downloads-terraform") %>> <li<%= sidebar_current("downloads-terraform") %>>
<a href="/downloads.html">Download Terraform</a> <a href="/downloads.html">Download Terraform</a>
@ -7,26 +9,38 @@
<li<%= sidebar_current("upgrade-guides") %>> <li<%= sidebar_current("upgrade-guides") %>>
<a href="/upgrade-guides/index.html">Upgrade Guides</a> <a href="/upgrade-guides/index.html">Upgrade Guides</a>
<ul class="nav">
<li<%= sidebar_current("upgrade-guides-0-12") %>>
<a href="/upgrade-guides/0-12.html">Upgrading to v0.12</a>
</li>
<li<%= sidebar_current("upgrade-guides-0-11") %>>
<a href="/upgrade-guides/0-11.html">Upgrading to v0.11</a>
</li>
<li<%= sidebar_current("upgrade-guides-0-10") %>>
<a href="/upgrade-guides/0-10.html">Upgrading to v0.10</a>
</li>
<li<%= sidebar_current("upgrade-guides-0-9") %>>
<a href="/upgrade-guides/0-9.html">Upgrading to v0.9</a>
</li>
<li<%= sidebar_current("upgrade-guides-0-8") %>>
<a href="/upgrade-guides/0-8.html">Upgrading to v0.8</a>
</li>
<li<%= sidebar_current("upgrade-guides-0-7") %>>
<a href="/upgrade-guides/0-7.html">Upgrading to v0.7</a>
</li> </li>
</ul> </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> </li>
</ul> </ul>
<% end %> <% end %>

View File

@ -1,18 +1,17 @@
<% wrap_layout :inner do %> <% wrap_layout :inner do %>
<% content_for :sidebar do %> <% content_for :sidebar do %>
<div class="docs-sidebar hidden-print affix-top" role="complementary"> <h4><a href="/docs/index.html">Terraform CLI</a></h4>
<ul class="nav docs-sidenav"> <ul class="nav docs-sidenav">
<li<%= sidebar_current("docs-config-index") %>> <li<%= sidebar_current("docs-config-index") %>>
<a class="back" href="/docs/configuration/index.html">Terraform Language</a> <a class="back" href="/docs/configuration/index.html">Configuration Language</a>
</li> <ul class="nav nav-visible">
<li<%= sidebar_current("docs-config-functions") %>> <li<%= sidebar_current("docs-config-functions") %>>
<a class="back" href="/docs/configuration/functions.html">Functions</a> <a href="/docs/configuration/functions.html">Functions</a>
</li> <ul class="nav nav-visible">
<li id="docs-funcs-numeric"<%= sidebar_current("docs-funcs-numeric") %>>
<li<%= sidebar_current("docs-funcs-numeric") %>>
<a href="#docs-funcs-numeric">Numeric Functions</a> <a href="#docs-funcs-numeric">Numeric Functions</a>
<ul class="nav nav-visible" id="docs-funcs-numeric"> <ul class="nav nav-visible">
<li<%= sidebar_current("docs-funcs-numeric-abs") %>> <li<%= sidebar_current("docs-funcs-numeric-abs") %>>
<a href="/docs/configuration/functions/abs.html">abs</a> <a href="/docs/configuration/functions/abs.html">abs</a>
@ -49,9 +48,9 @@
</ul> </ul>
</li> </li>
<li<%= sidebar_current("docs-funcs-string") %>> <li id="docs-funcs-string"<%= sidebar_current("docs-funcs-string") %>>
<a href="#docs-funcs-string">String Functions</a> <a href="#docs-funcs-string">String Functions</a>
<ul class="nav nav-visible" id="docs-funcs-string"> <ul class="nav nav-visible">
<li<%= sidebar_current("docs-funcs-string-chomp") %>> <li<%= sidebar_current("docs-funcs-string-chomp") %>>
<a href="/docs/configuration/functions/chomp.html">chomp</a> <a href="/docs/configuration/functions/chomp.html">chomp</a>
@ -102,10 +101,11 @@
</li> </li>
</ul> </ul>
</li>
<li<%= sidebar_current("docs-funcs-collection") %>> <li id="docs-funcs-collection"<%= sidebar_current("docs-funcs-collection") %>>
<a href="#docs-funcs-collection">Collection Functions</a> <a href="#docs-funcs-collection">Collection Functions</a>
<ul class="nav nav-visible" id="docs-funcs-collection"> <ul class="nav nav-visible">
<li<%= sidebar_current("docs-funcs-collection-chunklist") %>> <li<%= sidebar_current("docs-funcs-collection-chunklist") %>>
<a href="/docs/configuration/functions/chunklist.html">chunklist</a> <a href="/docs/configuration/functions/chunklist.html">chunklist</a>
@ -210,9 +210,9 @@
</ul> </ul>
</li> </li>
<li<%= sidebar_current("docs-funcs-encoding") %>> <li id="docs-funcs-encoding"<%= sidebar_current("docs-funcs-encoding") %>>
<a href="#docs-funcs-encoding">Encoding Functions</a> <a href="#docs-funcs-encoding">Encoding Functions</a>
<ul class="nav nav-visible" id="docs-funcs-encoding"> <ul class="nav nav-visible">
<li<%= sidebar_current("docs-funcs-encoding-base64decode") %>> <li<%= sidebar_current("docs-funcs-encoding-base64decode") %>>
<a href="/docs/configuration/functions/base64decode.html">base64decode</a> <a href="/docs/configuration/functions/base64decode.html">base64decode</a>
@ -245,9 +245,9 @@
</ul> </ul>
</li> </li>
<li<%= sidebar_current("docs-funcs-file") %>> <li id="docs-funcs-file"<%= sidebar_current("docs-funcs-file") %>>
<a href="#docs-funcs-file">Filesystem Functions</a> <a href="#docs-funcs-file">Filesystem Functions</a>
<ul class="nav nav-visible" id="docs-funcs-file"> <ul class="nav nav-visible">
<li<%= sidebar_current("docs-funcs-file-dirname") %>> <li<%= sidebar_current("docs-funcs-file-dirname") %>>
<a href="/docs/configuration/functions/dirname.html">dirname</a> <a href="/docs/configuration/functions/dirname.html">dirname</a>
@ -280,9 +280,9 @@
</ul> </ul>
</li> </li>
<li<%= sidebar_current("docs-funcs-datetime") %>> <li id="docs-funcs-datetime"<%= sidebar_current("docs-funcs-datetime") %>>
<a href="#docs-funcs-datetime">Date and Time Functions</a> <a href="#docs-funcs-datetime">Date and Time Functions</a>
<ul class="nav nav-visible" id="docs-funcs-datetime"> <ul class="nav nav-visible">
<li<%= sidebar_current("docs-funcs-datetime-timeadd") %>> <li<%= sidebar_current("docs-funcs-datetime-timeadd") %>>
<a href="/docs/configuration/functions/timeadd.html">timeadd</a> <a href="/docs/configuration/functions/timeadd.html">timeadd</a>
@ -295,9 +295,9 @@
</ul> </ul>
</li> </li>
<li<%= sidebar_current("docs-funcs-crypto") %>> <li id="docs-funcs-crypto"<%= sidebar_current("docs-funcs-crypto") %>>
<a href="#docs-funcs-crypto">Hash and Crypto Functions</a> <a href="#docs-funcs-crypto">Hash and Crypto Functions</a>
<ul class="nav nav-visible" id="docs-funcs-crypto"> <ul class="nav nav-visible">
<li<%= sidebar_current("docs-funcs-crypto-base64sha256") %>> <li<%= sidebar_current("docs-funcs-crypto-base64sha256") %>>
<a href="/docs/configuration/functions/base64sha256.html">base64sha256</a> <a href="/docs/configuration/functions/base64sha256.html">base64sha256</a>
@ -362,9 +362,9 @@
</ul> </ul>
</li> </li>
<li<%= sidebar_current("docs-funcs-ipnet") %>> <li id="docs-funcs-ipnet"<%= sidebar_current("docs-funcs-ipnet") %>>
<a href="#docs-funcs-ipnet">IP Network Functions</a> <a href="#docs-funcs-ipnet">IP Network Functions</a>
<ul class="nav nav-visible" id="docs-funcs-ipnet"> <ul class="nav nav-visible">
<li<%= sidebar_current("docs-funcs-ipnet-cidrhost") %>> <li<%= sidebar_current("docs-funcs-ipnet-cidrhost") %>>
<a href="/docs/configuration/functions/cidrhost.html">cidrhost</a> <a href="/docs/configuration/functions/cidrhost.html">cidrhost</a>
@ -413,7 +413,44 @@
</li> </li>
</ul> </ul>
</div> </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>
<% end %> <% end %>
<%= yield %> <%= yield %>

View File

@ -1,5 +1,7 @@
<% wrap_layout :inner do %> <% wrap_layout :inner do %>
<% content_for :sidebar do %> <% content_for :sidebar do %>
<h4><a href="/guides/index.html">Guides and Whitepapers</a></h4>
<ul class="nav docs-sidenav"> <ul class="nav docs-sidenav">
<li<%= sidebar_current("guides-getting-started") %>> <li<%= sidebar_current("guides-getting-started") %>>
<a href="/intro/getting-started/install.html">Getting Started</a> <a href="/intro/getting-started/install.html">Getting Started</a>
@ -24,8 +26,61 @@
<li<%= sidebar_current("guides-running-terraform-in-automation") %>> <li<%= sidebar_current("guides-running-terraform-in-automation") %>>
<a href="/guides/running-terraform-in-automation.html">Running Terraform in Automation</a> <a href="/guides/running-terraform-in-automation.html">Running Terraform in Automation</a>
</li> </li>
<li<%= sidebar_current("guides-terraform-provider-development-program") %>>
<a href="/guides/terraform-provider-development-program.html">Terraform Provider Development Program</a> <li<%= sidebar_current("upgrade-guides") %>>
<a href="/upgrade-guides/index.html">Upgrade Guides</a>
<ul class="nav">
<li<%= sidebar_current("upgrade-guides-0-12") %>>
<a href="/upgrade-guides/0-12.html">Upgrading to v0.12</a>
</li>
<li<%= sidebar_current("upgrade-guides-0-11") %>>
<a href="/upgrade-guides/0-11.html">Upgrading to v0.11</a>
</li>
<li<%= sidebar_current("upgrade-guides-0-10") %>>
<a href="/upgrade-guides/0-10.html">Upgrading to v0.10</a>
</li>
<li<%= sidebar_current("upgrade-guides-0-9") %>>
<a href="/upgrade-guides/0-9.html">Upgrading to v0.9</a>
</li>
<li<%= sidebar_current("upgrade-guides-0-8") %>>
<a href="/upgrade-guides/0-8.html">Upgrading to v0.8</a>
</li>
<li<%= sidebar_current("upgrade-guides-0-7") %>>
<a href="/upgrade-guides/0-7.html">Upgrading to v0.7</a>
</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/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> </li>
</ul> </ul>
<% end %> <% end %>

View File

@ -1,5 +1,7 @@
<% wrap_layout :inner do %> <% wrap_layout :inner do %>
<% content_for :sidebar do %> <% content_for :sidebar do %>
<h4><a href="/intro/index.html">Introduction to Terraform</a></h4>
<ul class="nav docs-sidenav"> <ul class="nav docs-sidenav">
<li<%= sidebar_current("what") %>> <li<%= sidebar_current("what") %>>
<a href="/intro/index.html">What is Terraform?</a> <a href="/intro/index.html">What is Terraform?</a>
@ -84,6 +86,38 @@
</ul> </ul>
</li> </li>
</ul> </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>
<% end %> <% end %>
<%= yield %> <%= yield %>

View File

@ -1,19 +1,8 @@
<% wrap_layout :inner do %> <% wrap_layout :inner do %>
<% content_for :sidebar do %> <% content_for :sidebar do %>
<h4><a href="/docs/registry/index.html">Terraform Registry</a></h4>
<ul class="nav docs-sidenav"> <ul class="nav docs-sidenav">
<li<%= sidebar_current("docs-home") %>>
<a class="back" href="/docs/index.html">Documentation Home</a>
</li>
<li<%= sidebar_current("docs-registry-home") %>>
<a class="back" href="/docs/registry/index.html">Terraform Registry</a>
</li>
<hr>
<li class="active">
<a href="#">Modules</a>
<ul class="nav">
<li<%= sidebar_current("docs-registry-use") %>> <li<%= sidebar_current("docs-registry-use") %>>
<a href="/docs/registry/modules/use.html">Finding and Using Modules</a> <a href="/docs/registry/modules/use.html">Finding and Using Modules</a>
</li> </li>
@ -25,21 +14,49 @@
<li<%= sidebar_current("docs-registry-verified") %>> <li<%= sidebar_current("docs-registry-verified") %>>
<a href="/docs/registry/modules/verified.html">Verified Modules</a> <a href="/docs/registry/modules/verified.html">Verified Modules</a>
</li> </li>
</ul>
</li>
<li<%= sidebar_current("docs-registry-private") %>> <li<%= sidebar_current("docs-registry-private") %>>
<a href="/docs/registry/private.html">Private Registry</a> <a href="/docs/registry/private.html">Private Registries</a>
</li> </li>
<hr>
<li<%= sidebar_current("docs-registry-api") %>> <li<%= sidebar_current("docs-registry-api") %>>
<a href="/docs/registry/api.html">API</a> <a href="/docs/registry/api.html">Registry API</a>
</li> </li>
<li<%= sidebar_current("docs-registry-support") %>> <li<%= sidebar_current("docs-registry-support") %>>
<a href="/docs/registry/support.html">Support</a> <a href="/docs/registry/support.html">Registry Support</a>
</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> </li>
</ul> </ul>
<% end %> <% end %>

View File

@ -1,5 +1,5 @@
--- ---
layout: "downloads" layout: "guides"
page_title: "Upgrading to Terraform 0.10" page_title: "Upgrading to Terraform 0.10"
sidebar_current: "upgrade-guides-0-10" sidebar_current: "upgrade-guides-0-10"
description: |- description: |-

View File

@ -1,5 +1,5 @@
--- ---
layout: "downloads" layout: "guides"
page_title: "Upgrading to Terraform 0.11" page_title: "Upgrading to Terraform 0.11"
sidebar_current: "upgrade-guides-0-11" sidebar_current: "upgrade-guides-0-11"
description: |- description: |-

View File

@ -1,5 +1,5 @@
--- ---
layout: "downloads" layout: "guides"
page_title: "Upgrading to Terraform 0.12" page_title: "Upgrading to Terraform 0.12"
sidebar_current: "upgrade-guides-0-12" sidebar_current: "upgrade-guides-0-12"
description: |- description: |-

View File

@ -1,5 +1,5 @@
--- ---
layout: "downloads" layout: "guides"
page_title: "Upgrading to Terraform 0.7" page_title: "Upgrading to Terraform 0.7"
sidebar_current: "upgrade-guides-0-7" sidebar_current: "upgrade-guides-0-7"
description: |- description: |-

View File

@ -1,5 +1,5 @@
--- ---
layout: "downloads" layout: "guides"
page_title: "Upgrading to Terraform 0.8" page_title: "Upgrading to Terraform 0.8"
sidebar_current: "upgrade-guides-0-8" sidebar_current: "upgrade-guides-0-8"
description: |- description: |-

View File

@ -1,5 +1,5 @@
--- ---
layout: "downloads" layout: "guides"
page_title: "Upgrading to Terraform 0.9" page_title: "Upgrading to Terraform 0.9"
sidebar_current: "upgrade-guides-0-9" sidebar_current: "upgrade-guides-0-9"
description: |- description: |-

View File

@ -1,5 +1,5 @@
--- ---
layout: "downloads" layout: "guides"
page_title: "Upgrade Guides" page_title: "Upgrade Guides"
sidebar_current: "upgrade-guides" sidebar_current: "upgrade-guides"
description: |- description: |-