Merge pull request #1864 from TimeIncOSS/fix-docs-links
Fix docs 404, typos and incorrect references
This commit is contained in:
commit
8dd1f939e2
|
@ -3,7 +3,7 @@ module SidebarHelpers
|
||||||
# if the YAML frontmatter matches the expected value.
|
# if the YAML frontmatter matches the expected value.
|
||||||
def sidebar_current(expected)
|
def sidebar_current(expected)
|
||||||
current = current_page.data.sidebar_current || ""
|
current = current_page.data.sidebar_current || ""
|
||||||
if current.start_with?(expected)
|
if current == expected or (expected.is_a?(Regexp) and expected.match(current))
|
||||||
return " class=\"active\""
|
return " class=\"active\""
|
||||||
else
|
else
|
||||||
return ""
|
return ""
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
---
|
---
|
||||||
layout: "aws"
|
layout: "aws"
|
||||||
page_title: "AWS: aws_lb_cookie_stickiness_policy"
|
page_title: "AWS: aws_lb_cookie_stickiness_policy"
|
||||||
sidebar_current: "docs-aws-lb-cookie-stickiness-policy"
|
sidebar_current: "docs-aws-resource-lb-cookie-stickiness-policy"
|
||||||
description: |-
|
description: |-
|
||||||
Provides a load balancer cookie stickiness policy, which allows an ELB to control the sticky session lifetime of the browser.
|
Provides a load balancer cookie stickiness policy, which allows an ELB to control the sticky session lifetime of the browser.
|
||||||
---
|
---
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
---
|
---
|
||||||
layout: "aws"
|
layout: "aws"
|
||||||
page_title: "AWS: aws_proxy_protocol_policy"
|
page_title: "AWS: aws_proxy_protocol_policy"
|
||||||
sidebar_current: "docs-aws-proxy-protocol-policy"
|
sidebar_current: "docs-aws-resource-proxy-protocol-policy"
|
||||||
description: |-
|
description: |-
|
||||||
Provides a proxy protocol policy, which allows an ELB to carry a client connection information to a backend.
|
Provides a proxy protocol policy, which allows an ELB to carry a client connection information to a backend.
|
||||||
---
|
---
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
---
|
---
|
||||||
layout: "aws"
|
layout: "aws"
|
||||||
page_title: "AWS: aws_vpc_peering_connection"
|
page_title: "AWS: aws_vpc_peering_connection"
|
||||||
sidebar_current: "docs-aws-resource-vpc-peering-connection"
|
sidebar_current: "docs-aws-resource-vpc-peering"
|
||||||
description: |-
|
description: |-
|
||||||
Provides an VPC Peering Connection resource.
|
Provides an VPC Peering Connection resource.
|
||||||
---
|
---
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
<a href="/docs/providers/atlas/index.html">Atlas Provider</a>
|
<a href="/docs/providers/atlas/index.html">Atlas Provider</a>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li<%= sidebar_current("docs-atlas-resource") %>>
|
<li<%= sidebar_current(/^docs-atlas-resource/) %>>
|
||||||
<a href="#">Resources</a>
|
<a href="#">Resources</a>
|
||||||
<ul class="nav nav-visible">
|
<ul class="nav nav-visible">
|
||||||
<li<%= sidebar_current("docs-atlas-resource-artifact") %>>
|
<li<%= sidebar_current("docs-atlas-resource-artifact") %>>
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
<a href="/docs/providers/aws/index.html">AWS Provider</a>
|
<a href="/docs/providers/aws/index.html">AWS Provider</a>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li<%= sidebar_current("docs-aws-resource") %>>
|
<li<%= sidebar_current(/^docs-aws-resource/) %>>
|
||||||
<a href="#">Resources</a>
|
<a href="#">Resources</a>
|
||||||
<ul class="nav nav-visible">
|
<ul class="nav nav-visible">
|
||||||
<li<%= sidebar_current("docs-aws-resource-autoscale") %>>
|
<li<%= sidebar_current("docs-aws-resource-autoscale") %>>
|
||||||
|
@ -108,7 +108,7 @@
|
||||||
<a href="/docs/providers/aws/r/key_pair.html">aws_key_pair</a>
|
<a href="/docs/providers/aws/r/key_pair.html">aws_key_pair</a>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li<%= sidebar_current("docs-aws-proxy-protocol-policy") %>>
|
<li<%= sidebar_current("docs-aws-resource-proxy-protocol-policy") %>>
|
||||||
<a href="/docs/providers/aws/r/proxy_protocol_policy.html">aws_proxy_protocol_policy</a>
|
<a href="/docs/providers/aws/r/proxy_protocol_policy.html">aws_proxy_protocol_policy</a>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
|
@ -170,10 +170,6 @@
|
||||||
<li<%= sidebar_current("docs-aws-resource-vpn-gateway") %>>
|
<li<%= sidebar_current("docs-aws-resource-vpn-gateway") %>>
|
||||||
<a href="/docs/providers/aws/r/vpn_gateway.html">aws_vpn_gateway</a>
|
<a href="/docs/providers/aws/r/vpn_gateway.html">aws_vpn_gateway</a>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li<%= sidebar_current("docs-aws-resource-vpn-gateway") %>>
|
|
||||||
<a href="/docs/providers/aws/r/vpn_gateway.html">aws_vpn_gateway</a>
|
|
||||||
</li>
|
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
<a href="/docs/providers/cloudflare/index.html">CloudFlare Provider</a>
|
<a href="/docs/providers/cloudflare/index.html">CloudFlare Provider</a>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li<%= sidebar_current("docs-cloudflare-resource") %>>
|
<li<%= sidebar_current(/^docs-cloudflare-resource/) %>>
|
||||||
<a href="#">Resources</a>
|
<a href="#">Resources</a>
|
||||||
<ul class="nav nav-visible">
|
<ul class="nav nav-visible">
|
||||||
<li<%= sidebar_current("docs-cloudflare-resource-record") %>>
|
<li<%= sidebar_current("docs-cloudflare-resource-record") %>>
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
<a href="/docs/providers/cloudstack/index.html">CloudStack Provider</a>
|
<a href="/docs/providers/cloudstack/index.html">CloudStack Provider</a>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li<%= sidebar_current("docs-cloudstack-resource") %>>
|
<li<%= sidebar_current(/^docs-cloudstack-resource/) %>>
|
||||||
<a href="#">Resources</a>
|
<a href="#">Resources</a>
|
||||||
<ul class="nav nav-visible">
|
<ul class="nav nav-visible">
|
||||||
<li<%= sidebar_current("docs-cloudstack-resource-disk") %>>
|
<li<%= sidebar_current("docs-cloudstack-resource-disk") %>>
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
<a href="/docs/providers/consul/index.html">Consul Provider</a>
|
<a href="/docs/providers/consul/index.html">Consul Provider</a>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li<%= sidebar_current("docs-consul-resource") %>>
|
<li<%= sidebar_current(/^docs-consul-resource/) %>>
|
||||||
<a href="#">Resources</a>
|
<a href="#">Resources</a>
|
||||||
<ul class="nav nav-visible">
|
<ul class="nav nav-visible">
|
||||||
<li<%= sidebar_current("docs-consul-resource-keys") %>>
|
<li<%= sidebar_current("docs-consul-resource-keys") %>>
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
<a href="/docs/providers/do/index.html">DigitalOcean Provider</a>
|
<a href="/docs/providers/do/index.html">DigitalOcean Provider</a>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li<%= sidebar_current("docs-do-resource") %>>
|
<li<%= sidebar_current(/^docs-do-resource/) %>>
|
||||||
<a href="#">Resources</a>
|
<a href="#">Resources</a>
|
||||||
<ul class="nav nav-visible">
|
<ul class="nav nav-visible">
|
||||||
<li<%= sidebar_current("docs-do-resource-domain") %>>
|
<li<%= sidebar_current("docs-do-resource-domain") %>>
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
<a href="/docs/providers/dme/index.html">DNSMadeEasy Provider</a>
|
<a href="/docs/providers/dme/index.html">DNSMadeEasy Provider</a>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li<%= sidebar_current("docs-dme-resource") %>>
|
<li<%= sidebar_current(/^docs-dme-resource/) %>>
|
||||||
<a href="#">Resources</a>
|
<a href="#">Resources</a>
|
||||||
<ul class="nav nav-visible">
|
<ul class="nav nav-visible">
|
||||||
<li<%= sidebar_current("docs-dme-resource-record") %>>
|
<li<%= sidebar_current("docs-dme-resource-record") %>>
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
<a href="/docs/providers/dnsimple/index.html">DNSimple Provider</a>
|
<a href="/docs/providers/dnsimple/index.html">DNSimple Provider</a>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li<%= sidebar_current("docs-dnsimple-resource") %>>
|
<li<%= sidebar_current(/^docs-dnsimple-resource/) %>>
|
||||||
<a href="#">Resources</a>
|
<a href="#">Resources</a>
|
||||||
<ul class="nav nav-visible">
|
<ul class="nav nav-visible">
|
||||||
<li<%= sidebar_current("docs-dnsimple-resource-record") %>>
|
<li<%= sidebar_current("docs-dnsimple-resource-record") %>>
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
<a href="/docs/providers/docker/index.html">Docker Provider</a>
|
<a href="/docs/providers/docker/index.html">Docker Provider</a>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li<%= sidebar_current("docs-docker-resource") %>>
|
<li<%= sidebar_current(/^docs-docker-resource/) %>>
|
||||||
<a href="#">Resources</a>
|
<a href="#">Resources</a>
|
||||||
<ul class="nav nav-visible">
|
<ul class="nav nav-visible">
|
||||||
<li<%= sidebar_current("docs-docker-resource-container") %>>
|
<li<%= sidebar_current("docs-docker-resource-container") %>>
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
<a href="/docs/index.html">Documentation Home</a>
|
<a href="/docs/index.html">Documentation Home</a>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li<%= sidebar_current("docs-config") %>>
|
<li<%= sidebar_current(/^docs-config/) %>>
|
||||||
<a href="/docs/configuration/index.html">Configuration</a>
|
<a href="/docs/configuration/index.html">Configuration</a>
|
||||||
<ul class="nav">
|
<ul class="nav">
|
||||||
<li<%= sidebar_current("docs-config-load") %>>
|
<li<%= sidebar_current("docs-config-load") %>>
|
||||||
|
@ -52,7 +52,7 @@
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<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-apply") %>>
|
<li<%= sidebar_current("docs-commands-apply") %>>
|
||||||
|
@ -105,7 +105,7 @@
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li<%= sidebar_current("docs-state") %>>
|
<li<%= sidebar_current(/^docs-state/) %>>
|
||||||
<a href="/docs/state/index.html">State</a>
|
<a href="/docs/state/index.html">State</a>
|
||||||
<ul class="nav">
|
<ul class="nav">
|
||||||
<li<%= sidebar_current("docs-state-remote") %>>
|
<li<%= sidebar_current("docs-state-remote") %>>
|
||||||
|
@ -114,7 +114,7 @@
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li<%= sidebar_current("docs-providers") %>>
|
<li<%= sidebar_current(/^docs-providers/) %>>
|
||||||
<a href="/docs/providers/index.html">Providers</a>
|
<a href="/docs/providers/index.html">Providers</a>
|
||||||
<ul class="nav">
|
<ul class="nav">
|
||||||
<li<%= sidebar_current("docs-providers-atlas") %>>
|
<li<%= sidebar_current("docs-providers-atlas") %>>
|
||||||
|
@ -175,7 +175,7 @@
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li<%= sidebar_current("docs-provisioners") %>>
|
<li<%= sidebar_current(/^docs-provisioners/) %>>
|
||||||
<a href="/docs/provisioners/index.html">Provisioners</a>
|
<a href="/docs/provisioners/index.html">Provisioners</a>
|
||||||
<ul class="nav">
|
<ul class="nav">
|
||||||
<li<%= sidebar_current("docs-provisioners-connection") %>>
|
<li<%= sidebar_current("docs-provisioners-connection") %>>
|
||||||
|
@ -196,7 +196,7 @@
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li<%= sidebar_current("docs-modules") %>>
|
<li<%= sidebar_current(/^docs-modules/) %>>
|
||||||
<a href="/docs/modules/index.html">Modules</a>
|
<a href="/docs/modules/index.html">Modules</a>
|
||||||
<ul class="nav">
|
<ul class="nav">
|
||||||
<li<%= sidebar_current("docs-modules-usage") %>>
|
<li<%= sidebar_current("docs-modules-usage") %>>
|
||||||
|
@ -213,7 +213,7 @@
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li<%= sidebar_current("docs-plugins") %>>
|
<li<%= sidebar_current(/^docs-plugins/) %>>
|
||||||
<a href="/docs/plugins/index.html">Plugins</a>
|
<a href="/docs/plugins/index.html">Plugins</a>
|
||||||
<ul class="nav">
|
<ul class="nav">
|
||||||
<li<%= sidebar_current("docs-plugins-basics") %>>
|
<li<%= sidebar_current("docs-plugins-basics") %>>
|
||||||
|
@ -226,7 +226,7 @@
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li<%= sidebar_current("docs-internals") %>>
|
<li<%= sidebar_current(/^docs-internals/) %>>
|
||||||
<a href="/docs/internals/index.html">Internals</a>
|
<a href="/docs/internals/index.html">Internals</a>
|
||||||
<ul class="nav">
|
<ul class="nav">
|
||||||
<li<%= sidebar_current("docs-internals-debug") %>>
|
<li<%= sidebar_current("docs-internals-debug") %>>
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
<a href="/docs/providers/google/index.html">Google Provider</a>
|
<a href="/docs/providers/google/index.html">Google Provider</a>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li<%= sidebar_current("docs-google-resource") %>>
|
<li<%= sidebar_current(/^docs-google-resource/) %>>
|
||||||
<a href="#">Resources</a>
|
<a href="#">Resources</a>
|
||||||
<ul class="nav nav-visible">
|
<ul class="nav nav-visible">
|
||||||
<li<%= sidebar_current("docs-google-resource-address") %>>
|
<li<%= sidebar_current("docs-google-resource-address") %>>
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
<a href="/docs/providers/heroku/index.html">Heroku Provider</a>
|
<a href="/docs/providers/heroku/index.html">Heroku Provider</a>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li<%= sidebar_current("docs-heroku-resource") %>>
|
<li<%= sidebar_current(/^docs-heroku-resource/) %>>
|
||||||
<a href="#">Resources</a>
|
<a href="#">Resources</a>
|
||||||
<ul class="nav nav-visible">
|
<ul class="nav nav-visible">
|
||||||
<li<%= sidebar_current("docs-heroku-resource-addon") %>>
|
<li<%= sidebar_current("docs-heroku-resource-addon") %>>
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
<a href="/intro/use-cases.html">Use Cases</a>
|
<a href="/intro/use-cases.html">Use Cases</a>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li<%= sidebar_current("vs-other") %>>
|
<li<%= sidebar_current(/^vs-other/) %>>
|
||||||
<a href="/intro/vs/index.html">Terraform vs. Other Software</a>
|
<a href="/intro/vs/index.html">Terraform vs. Other Software</a>
|
||||||
<ul class="nav">
|
<ul class="nav">
|
||||||
<li<%= sidebar_current("vs-other-chef") %>>
|
<li<%= sidebar_current("vs-other-chef") %>>
|
||||||
|
@ -31,7 +31,7 @@
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li<%= sidebar_current("gettingstarted") %>>
|
<li<%= sidebar_current(/^gettingstarted/) %>>
|
||||||
<a href="/intro/getting-started/install.html">Getting Started</a>
|
<a href="/intro/getting-started/install.html">Getting Started</a>
|
||||||
<ul class="nav">
|
<ul class="nav">
|
||||||
<li<%= sidebar_current("gettingstarted-install") %>>
|
<li<%= sidebar_current("gettingstarted-install") %>>
|
||||||
|
@ -80,7 +80,7 @@
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li<%= sidebar_current("examples") %>>
|
<li<%= sidebar_current(/^examples/) %>>
|
||||||
<a href="/intro/examples/index.html">Example Configurations</a>
|
<a href="/intro/examples/index.html">Example Configurations</a>
|
||||||
<ul class="nav">
|
<ul class="nav">
|
||||||
<li<%= sidebar_current("examples-aws") %>>
|
<li<%= sidebar_current("examples-aws") %>>
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
<a href="/docs/providers/mailgun/index.html">Mailgun Provider</a>
|
<a href="/docs/providers/mailgun/index.html">Mailgun Provider</a>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li<%= sidebar_current("docs-mailgun-resource") %>>
|
<li<%= sidebar_current(/^docs-mailgun-resource/) %>>
|
||||||
<a href="#">Resources</a>
|
<a href="#">Resources</a>
|
||||||
<ul class="nav nav-visible">
|
<ul class="nav nav-visible">
|
||||||
<li<%= sidebar_current("docs-mailgun-resource-domain") %>>
|
<li<%= sidebar_current("docs-mailgun-resource-domain") %>>
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
<a href="/docs/providers/openstack/index.html">OpenStack Provider</a>
|
<a href="/docs/providers/openstack/index.html">OpenStack Provider</a>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li<%= sidebar_current("docs-openstack-resource") %>>
|
<li<%= sidebar_current(/^docs-openstack-resource/) %>>
|
||||||
<a href="#">Resources</a>
|
<a href="#">Resources</a>
|
||||||
<ul class="nav nav-visible">
|
<ul class="nav nav-visible">
|
||||||
<li<%= sidebar_current("docs-openstack-resource-blockstorage-volume-v1") %>>
|
<li<%= sidebar_current("docs-openstack-resource-blockstorage-volume-v1") %>>
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
<a href="/docs/providers/template/index.html">Template Provider</a>
|
<a href="/docs/providers/template/index.html">Template Provider</a>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li<%= sidebar_current("docs-template-resource") %>>
|
<li<%= sidebar_current(/^docs-template-resource/) %>>
|
||||||
<a href="#">Resources</a>
|
<a href="#">Resources</a>
|
||||||
<ul class="nav nav-visible">
|
<ul class="nav nav-visible">
|
||||||
<li<%= sidebar_current("docs-template-resource-file") %>>
|
<li<%= sidebar_current("docs-template-resource-file") %>>
|
||||||
|
|
Loading…
Reference in New Issue