Redirect shared-file-systems to shared-file-system

The official service type for Manila is shared-file-system (singular).
The official API reference should be standardized accordingly, and in
fact, this is the case ([1] is following the latest commits; [2] stopped
being updated on 20170718).

This change accordingly updates static links within this project, and
adds 301 redirects for anything pointing to the old path.

[1] https://developer.openstack.org/api-ref/shared-file-system/
[2] https://developer.openstack.org/api-ref/shared-file-systems/

Change-Id: I24019199bed3eb4eb7030bf49fb04a910a674675
This commit is contained in:
Eric Fried 2017-09-05 07:22:23 -05:00
parent 833c20124e
commit 551cfeeeec
2 changed files with 6 additions and 4 deletions

View File

@ -41,9 +41,11 @@ redirect 301 /api-ref-objectstorage-v1.html /api-ref/object-storage/index.html
# Redirect Orchestration API
redirect 301 /api-ref-orchestration-v1.html /api-ref/orchestration/index.html
# Redirect Shared File Systems API v2
redirect 301 /api-ref-share-v2.html /api-ref/shared-file-systems/index.html
redirect 301 /api-ref-share-v2.html /api-ref/shared-file-system/index.html
# Redirect Shared File Systems API v1
redirect 301 /api-ref-share-v1.html /api-ref/shared-file-systems/index.html
redirect 301 /api-ref-share-v1.html /api-ref/shared-file-system/index.html
# Redirect "shared-file-systems" (plural) links to official "shared-file-system" (singular)
redirectmatch 301 /api-ref/shared-file-systems/(.*) /api-ref/shared-file-system/$1
# Redirect Telemetry (ceilometer only) API
redirect 301 /api-ref-telemetry-v2.html http://docs.openstack.org/developer/ceilometer/webapi/v2.html
# Redirect senlin old service-type resource-cluster to clustering

View File

@ -169,7 +169,7 @@
</url>
<url>
<priority>1.0</priority>
<loc>https://developer.openstack.org/api-ref/shared-file-systems/</loc>
<loc>https://developer.openstack.org/api-ref/shared-file-system/</loc>
<lastmod>2017-02-22T17:05:58+0000</lastmod>
<changefreq>daily</changefreq>
</url>
@ -505,7 +505,7 @@
</url>
<url>
<priority>1.0</priority>
<loc>https://developer.openstack.org/api-ref/shared-file-systems/index.html</loc>
<loc>https://developer.openstack.org/api-ref/shared-file-system/index.html</loc>
<lastmod>2017-02-22T17:05:58+0000</lastmod>
<changefreq>daily</changefreq>
</url>