From 4aed5f11e2ad7c9f9c8e63c65116374fd493dec8 Mon Sep 17 00:00:00 2001 From: Rachael Sewell Date: Tue, 16 Feb 2021 17:37:01 -0800 Subject: [PATCH] add example frontmatter for range of versions (#17877) --- content/README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/content/README.md b/content/README.md index 28216a5d29..5659f2928a 100644 --- a/content/README.md +++ b/content/README.md @@ -71,6 +71,14 @@ versions: enterprise-server: '*' ``` +You can also version a page for a range of releases. This would version the page for GitHub Enterprise Server 2.22 and 3.0 only: + +```yml +versions: + free-pro-team: '*' + enterprise-server: '>=2.22 <3.1' +``` + ### `redirect_from` - Purpose: List URLs that should redirect to this page.