Add redirect for no-longer-existing Image API v1 docs

The Image API v1 Reference was removed by change
I65ef76fec0029949f8de867d711e745b7aa7f81d.  Redirect requests for
api-ref/image/v1/ to the base api-ref/image/ document that contains
a section "What happened to the v1 API?".

Change-Id: I14a49f3809bed9f3e3f02eab9c5b2029907977ac
Closes-bug: #1778579
This commit is contained in:
Brian Rosmaita 2018-06-25 14:30:43 -04:00
parent 3d0f9bcb4f
commit 7158812048

View File

@ -60,6 +60,8 @@ redirect 301 /api-ref-share-v2.html /api-ref/shared-file-system/index.html
redirect 301 /api-ref-share-v1.html /api-ref/shared-file-system/index.html
# Redirect Telemetry (ceilometer only) API
redirect 301 /api-ref-telemetry-v2.html https://docs.openstack.org/ceilometer/latest/webapi/v2.html
# Redirect no-longer-existing Image API v1 docs to intro page
redirect 301 /api-ref/image/v1/ /api-ref/image/
# Redirect service-type aliases to service-type api-ref locations
{% for alias, service_type in REVERSE.items() -%}