From 3d703a0b82551f3dfa1b9e1dee6c04ec38f254db Mon Sep 17 00:00:00 2001 From: Qiao Anran Date: Mon, 17 Oct 2016 13:40:33 +0800 Subject: [PATCH] Fix documentation typo Signed-off-by: Qiao Anran --- docs/spec/api.md | 2 +- docs/spec/api.md.tmpl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/spec/api.md b/docs/spec/api.md index c4517c0b4..68028e79f 100644 --- a/docs/spec/api.md +++ b/docs/spec/api.md @@ -248,7 +248,7 @@ enforce this. The rules for a repository name are as follows: must match the regular expression `[a-z0-9]+(?:[._-][a-z0-9]+)*`. 2. If a repository name has two or more path components, they must be separated by a forward slash ("/"). -3. The total length of a repository name, including slashes, must be less the +3. The total length of a repository name, including slashes, must be less than 256 characters. These name requirements _only_ apply to the registry API and should accept a diff --git a/docs/spec/api.md.tmpl b/docs/spec/api.md.tmpl index eeafec1ea..97dd9f639 100644 --- a/docs/spec/api.md.tmpl +++ b/docs/spec/api.md.tmpl @@ -248,7 +248,7 @@ enforce this. The rules for a repository name are as follows: must match the regular expression `[a-z0-9]+(?:[._-][a-z0-9]+)*`. 2. If a repository name has two or more path components, they must be separated by a forward slash ("/"). -3. The total length of a repository name, including slashes, must be less the +3. The total length of a repository name, including slashes, must be less than 256 characters. These name requirements _only_ apply to the registry API and should accept a