website: move docs/index.html to docs/cli-index.html

Terraform is way bigger than the core CLI tools and the language
now, and the docs have grown accordingly. So we're adding a
global index page to help users get around the many sections of the
docs site, and bumping the CLI/core docs down so they're no longer at the
top of the hierarchy.

The "right" (as in, conceptually pure) way to do this would be to actually
create a new level of directory hierarchy in between. But that would be real
expensive and annoying — the amount of 301s and links to edit would be
monumental, and it wouldn't gain us much beyond a certain picture-straightening
satisfaction, so I'm resisting the temptation.
This commit is contained in:
Nick Fagerlund 2019-03-11 16:49:45 +00:00 committed by Nick Fagerlund
parent 1987a92386
commit 13166df619
7 changed files with 6 additions and 6 deletions

View File

@ -1,6 +1,6 @@
<% 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> <h4><a href="/docs/cli-index.html">Terraform CLI</a></h4>
<ul class="nav docs-sidenav"> <ul class="nav docs-sidenav">
<li<%= sidebar_current("docs-backends") %>> <li<%= sidebar_current("docs-backends") %>>

View File

@ -1,6 +1,6 @@
<% 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> <h4><a href="/docs/cli-index.html">Terraform CLI</a></h4>
<ul class="nav docs-sidenav"> <ul class="nav docs-sidenav">
<li<%= sidebar_current("docs-commands") %>> <li<%= sidebar_current("docs-commands") %>>

View File

@ -1,6 +1,6 @@
<% 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> <h4><a href="/docs/cli-index.html">Terraform CLI</a></h4>
<ul class="nav docs-sidenav"> <ul class="nav docs-sidenav">
<li<%= sidebar_current("docs-commands") %>> <li<%= sidebar_current("docs-commands") %>>

View File

@ -1,6 +1,6 @@
<% 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> <h4><a href="/docs/cli-index.html">Terraform CLI</a></h4>
<ul class="nav docs-sidenav"> <ul class="nav docs-sidenav">
<li<%= sidebar_current("docs-commands") %>> <li<%= sidebar_current("docs-commands") %>>

View File

@ -1,6 +1,6 @@
<% 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> <h4><a href="/docs/cli-index.html">Terraform CLI</a></h4>
<ul class="nav docs-sidenav"> <ul class="nav docs-sidenav">
<li<%= sidebar_current("docs-conf") %>> <li<%= sidebar_current("docs-conf") %>>

View File

@ -1,6 +1,6 @@
<% 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> <h4><a href="/docs/cli-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") %>>