Merge "Add redirect for API reference"
This commit is contained in:
commit
2ec02ef596
|
@ -1,3 +1,21 @@
|
|||
# Redirect the old API reference URLs to the new location with official service types
|
||||
redirect 301 /api-ref/networking/ /api-ref/network/
|
||||
redirect 301 /api-ref/object-storage/ /api-ref/object-store/
|
||||
redirect 301 /api-ref/messaging/ /api-ref/message/
|
||||
redirect 301 /api-ref/shared-file-systems/ /api-ref/shared-file-system/
|
||||
redirect 301 /api-ref/resource-cluster/ /api-ref/clustering/
|
||||
|
||||
# --------------------------------------------
|
||||
# Redirect related to API ref per project team
|
||||
# --------------------------------------------
|
||||
# Redirect Block Storage API v1 to v2 and v3 landing
|
||||
redirect 301 /api-ref/block-storage/v1/index.html /api-ref/block-storage/index.html
|
||||
# Redirect Networking extensions to landing
|
||||
redirect 301 /api-ref/networking/v2-ext/ /api-ref/network/index.html
|
||||
|
||||
# -------------------------------------------------------------
|
||||
# Redirect from centralized API ref to API ref per project team
|
||||
# -------------------------------------------------------------
|
||||
# Redirect for the new file name for complete reference page
|
||||
redirect 301 /api-reference.html /api-guide/quick-start/index.html
|
||||
redirect 301 /api-specs.html /api-ref-guides.html
|
||||
|
@ -20,8 +38,6 @@ redirect 301 /api-ref-baremetal-v1.html /api-ref/baremetal/index.html
|
|||
# Redirect WADL-based Block Storage API docs to in-tree docs
|
||||
redirect 301 /api-ref-blockstorage-v1.html /api-ref/block-storage/index.html
|
||||
redirect 301 /api-ref-blockstorage-v2.html /api-ref/block-storage/index.html
|
||||
# Redirect Block Storage API v1 to v2 and v3 landing
|
||||
redirect 301 /api-ref/block-storage/v1/index.html /api-ref/block-storage/index.html
|
||||
# Redirect WADL-based Identity API docs to in-tree docs
|
||||
redirect 301 /api-ref-identity-v2.html /api-ref/identity/v2/index.html
|
||||
redirect 301 /api-ref-identity-admin-v2.html /api-ref/identity/v2-admin/index.html
|
||||
|
@ -32,21 +48,15 @@ redirect 301 /api-ref-identity-v3-ext.html /api-ref/identity/v3-ext/index.html
|
|||
redirect 301 /api-ref-image-v1.html /api-ref/image/index.html
|
||||
redirect 301 /api-ref-image-v2.html /api-ref/image/index.html
|
||||
# Redirect WADL-based Networking API docs to in-tree docs
|
||||
redirect 301 /api-ref-networking-v2.html /api-ref/networking/v2/index.html
|
||||
redirect 301 /api-ref-networking-v2-ext.html /api-ref/networking/v2/index.html
|
||||
# Redirect Networking extensions to landing
|
||||
redirect 301 /api-ref/networking/v2-ext/ /api-ref/networking/index.html
|
||||
redirect 301 /api-ref-networking-v2.html /api-ref/network/v2/index.html
|
||||
redirect 301 /api-ref-networking-v2-ext.html /api-ref/network/v2/index.html
|
||||
# Redirect WADL-based Object Storage API docs to in-tree docs
|
||||
redirect 301 /api-ref-objectstorage-v1.html /api-ref/object-storage/index.html
|
||||
redirect 301 /api-ref-objectstorage-v1.html /api-ref/object-store/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-system/index.html
|
||||
# Redirect Shared File Systems API v1
|
||||
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 https://docs.openstack.org/ceilometer/latest/webapi/v2.html
|
||||
# Redirect senlin old service-type resource-cluster to clustering
|
||||
redirectmatch 301 /api-ref/resource-cluster/(.*) /api-ref/clustering/$1
|
||||
|
|
Loading…
Reference in New Issue