From 48eeac88e94655d0fe882ccf49cd4f74b9b03acc Mon Sep 17 00:00:00 2001 From: Sebastiaan van Stijn Date: Wed, 8 Jul 2020 12:18:31 +0200 Subject: [PATCH] docs: add redirect for old URL Looks like there's some projects refering to this old URL: https://grep.app/search?q=https%3A//docs.docker.com/reference/api/registry_api/ Signed-off-by: Sebastiaan van Stijn (cherry picked from commit 7728c5e44534819a9adee2a1b54cb74f829ded3a) Signed-off-by: Sebastiaan van Stijn --- docs/spec/api.md | 2 ++ docs/spec/api.md.tmpl | 2 ++ 2 files changed, 4 insertions(+) diff --git a/docs/spec/api.md b/docs/spec/api.md index 0a4009c8..e088ad94 100644 --- a/docs/spec/api.md +++ b/docs/spec/api.md @@ -2,6 +2,8 @@ title: "HTTP API V2" description: "Specification for the Registry API." keywords: registry, on-prem, images, tags, repository, distribution, api, advanced +redirect_from: + - /reference/api/registry_api/ --- # Docker Registry HTTP API V2 diff --git a/docs/spec/api.md.tmpl b/docs/spec/api.md.tmpl index 3e61ba4c..9dce5f5b 100644 --- a/docs/spec/api.md.tmpl +++ b/docs/spec/api.md.tmpl @@ -2,6 +2,8 @@ title: "HTTP API V2" description: "Specification for the Registry API." keywords: registry, on-prem, images, tags, repository, distribution, api, advanced +redirect_from: + - /reference/api/registry_api/ --- # Docker Registry HTTP API V2