Update URLs for gateway docs

PRs #7610 and #7962 changed the locations/URLs for the gateway docs
which results in a HTTP 404 Not Found being returned when accessing
the previous URLs.

Update URLs for gateway docs to point to new URLs.

PR #8243 adds corresponding redirects on consul.io.
This commit is contained in:
Blake Covarrubias 2020-07-06 09:06:57 -07:00 committed by Blake Covarrubias
parent 959e9427df
commit a955632712
3 changed files with 5 additions and 5 deletions

View File

@ -45,9 +45,9 @@
</li> </li>
{{/let}} {{/let}}
{{#let (from-entries {{#let (from-entries
(array 'ingress-gateway' '/connect/ingress_gateway.html') (array 'ingress-gateway' '/connect/ingress-gateway')
(array 'terminating-gateway' '/connect/terminating_gateway.html') (array 'terminating-gateway' '/connect/terminating-gateway')
(array 'mesh-gateway' '/connect/mesh_gateway.html') (array 'mesh-gateway' '/connect/mesh-gateway')
) as |link|}} ) as |link|}}
<li role="none" class="docs-link"> <li role="none" class="docs-link">
<a tabindex="-1" role="menuitem" href={{concat (env 'CONSUL_DOCS_URL') (get link item.Kind)}} rel="noopener noreferrer" target="_blank"> <a tabindex="-1" role="menuitem" href={{concat (env 'CONSUL_DOCS_URL') (get link item.Kind)}} rel="noopener noreferrer" target="_blank">

View File

@ -4,7 +4,7 @@
<section> <section>
<p> <p>
The following services may receive traffic from external services through this gateway. Learn more about configuring gateways in our The following services may receive traffic from external services through this gateway. Learn more about configuring gateways in our
<a href="{{env 'CONSUL_DOCS_URL'}}/connect/terminating_gateway.html" target="_blank" rel="noopener noreferrer">step-by-step guide</a>. <a href="{{env 'CONSUL_DOCS_URL'}}/connect/terminating-gateway" target="_blank" rel="noopener noreferrer">step-by-step guide</a>.
</p> </p>
<ConsulServiceList @items={{gatewayServices}} @nspace={{nspace}} /> <ConsulServiceList @items={{gatewayServices}} @nspace={{nspace}} />
</section> </section>

View File

@ -3,7 +3,7 @@
{{#if (gt gatewayServices.length 0)}} {{#if (gt gatewayServices.length 0)}}
<section> <section>
<p> <p>
Upstreams are services that may receive traffic from this gateway. Learn more about configuring gateways in our <a href="{{env 'CONSUL_DOCS_URL'}}/connect/ingress_gateway.html" target="_blank" rel="noopener noreferrer">documentation</a>. Upstreams are services that may receive traffic from this gateway. Learn more about configuring gateways in our <a href="{{env 'CONSUL_DOCS_URL'}}/connect/ingress-gateway" target="_blank" rel="noopener noreferrer">documentation</a>.
</p> </p>
<ConsulUpstreamList @items={{gatewayServices}} @dc={{dc}} @nspace={{nspace}} /> <ConsulUpstreamList @items={{gatewayServices}} @dc={{dc}} @nspace={{nspace}} />
</section> </section>