From 651954d6c42bef656910f0ca8489bcc10bcf884b Mon Sep 17 00:00:00 2001 From: Brandon Morelli Date: Thu, 8 Jan 2026 10:41:13 -0800 Subject: [PATCH 1/4] Update applies-switch documentation to new applies_to syntax --- docs/syntax/applies-switch.md | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/docs/syntax/applies-switch.md b/docs/syntax/applies-switch.md index 52ecf4a29..26fd27c2d 100644 --- a/docs/syntax/applies-switch.md +++ b/docs/syntax/applies-switch.md @@ -89,21 +89,21 @@ In the following example, both switch sets are automatically grouped and will st :::::{tab-item} Output ::::{applies-switch} -:::{applies-item} { "stack": "preview 9.0" } -Content for 9.0 version -::: -:::{applies-item} { "stack": "ga 9.1" } +:::{applies-item} { "stack": "ga 9.1+" } Content for 9.1 version ::: +:::{applies-item} { "stack": "preview =9.0" } +Content for 9.0 version +::: :::: ::::{applies-switch} -:::{applies-item} stack: preview 9.0 -Other content for 9.0 version -::: -:::{applies-item} stack: ga 9.1 +:::{applies-item} stack: ga 9.1+ Other content for 9.1 version ::: +:::{applies-item} stack: preview =9.0 +Other content for 9.0 version +::: :::: ::::: From 0aae12d5213c06e1333fced8beb4a0831d7a196a Mon Sep 17 00:00:00 2001 From: Brandon Morelli Date: Thu, 8 Jan 2026 10:43:25 -0800 Subject: [PATCH 2/4] Update formatting in applies-switch documentation --- docs/syntax/applies-switch.md | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/docs/syntax/applies-switch.md b/docs/syntax/applies-switch.md index 26fd27c2d..053041ae5 100644 --- a/docs/syntax/applies-switch.md +++ b/docs/syntax/applies-switch.md @@ -81,7 +81,7 @@ Content for Serverless All applies switches on a page automatically sync together. When you select an applies_to definition in one switch, all other switches will switch to the same applies_to definition. -The format of the applies_to definition doesn't matter - `stack: preview 9.1`, `{ "stack": "preview 9.1" }`, and `{ stack: "preview 9.1" }` all identify the same content and will sync together. +The format of the applies_to definition doesn't matter - `stack: preview 9.1+`, `{ "stack": "preview 9.1+" }`, and `{ stack: "preview 9.1+" }` all identify the same content and will sync together. In the following example, both switch sets are automatically grouped and will stay in sync. @@ -111,21 +111,21 @@ Other content for 9.0 version ```markdown ::::{applies-switch} -:::{applies-item} { "stack": "preview 9.0" } -Content for 9.0 version -::: -:::{applies-item} { "stack": "ga 9.1" } +:::{applies-item} { "stack": "ga 9.1+" } Content for 9.1 version ::: +:::{applies-item} { "stack": "preview =9.0" } +Content for 9.0 version +::: :::: ::::{applies-switch} -:::{applies-item} stack: preview 9.0 -Other content for 9.0 version -::: -:::{applies-item} stack: ga 9.1 +:::{applies-item} stack: ga 9.1+ Other content for 9.1 version ::: +:::{applies-item} stack: preview =9.0 +Other content for 9.0 version +::: :::: ``` ::::: From 9bf1a4e3c0fb600b165e8cd1cee7ca22b86101b5 Mon Sep 17 00:00:00 2001 From: Brandon Morelli Date: Thu, 8 Jan 2026 10:50:04 -0800 Subject: [PATCH 3/4] Update applies-switch.md --- docs/syntax/applies-switch.md | 34 +++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/docs/syntax/applies-switch.md b/docs/syntax/applies-switch.md index 053041ae5..283c6d401 100644 --- a/docs/syntax/applies-switch.md +++ b/docs/syntax/applies-switch.md @@ -9,11 +9,11 @@ The applies-switch directive creates tabbed content where each tab displays an a ::::{applies-switch} -:::{applies-item} stack: +:::{applies-item} stack: ga 9.0+ Content for Stack ::: -:::{applies-item} serverless: +:::{applies-item} serverless: ga Content for Serverless ::: @@ -25,11 +25,11 @@ Content for Serverless ```markdown ::::{applies-switch} -:::{applies-item} stack: +:::{applies-item} stack: ga 9.0+ Content for Stack ::: -:::{applies-item} serverless: +:::{applies-item} serverless: ga Content for Serverless ::: @@ -48,11 +48,11 @@ This is useful when content applies to multiple deployment types or versions sim ::::{applies-switch} -:::{applies-item} { ece:, ess: } +:::{applies-item} { ece: ga, ess: ga } Content for ECE and ECH ::: -:::{applies-item} serverless: +:::{applies-item} serverless: ga Content for Serverless ::: @@ -64,11 +64,11 @@ Content for Serverless ```markdown ::::{applies-switch} -:::{applies-item} { ece:, ess: } +:::{applies-item} { ece: ga, ess: ga } Content for ECE and ECH ::: -:::{applies-item} serverless: +:::{applies-item} serverless: ga Content for Serverless ::: @@ -81,7 +81,7 @@ Content for Serverless All applies switches on a page automatically sync together. When you select an applies_to definition in one switch, all other switches will switch to the same applies_to definition. -The format of the applies_to definition doesn't matter - `stack: preview 9.1+`, `{ "stack": "preview 9.1+" }`, and `{ stack: "preview 9.1+" }` all identify the same content and will sync together. +The format of the applies_to definition doesn't matter - `stack: ga 9.1+`, `{ "stack": "ga 9.1+" }`, and `{ stack: "ga 9.1+" }` all identify the same content and will sync together. In the following example, both switch sets are automatically grouped and will stay in sync. @@ -90,19 +90,19 @@ In the following example, both switch sets are automatically grouped and will st ::::{applies-switch} :::{applies-item} { "stack": "ga 9.1+" } -Content for 9.1 version +Content for versions 9.1 and newer ::: :::{applies-item} { "stack": "preview =9.0" } -Content for 9.0 version +Content for version 9.0 ::: :::: ::::{applies-switch} :::{applies-item} stack: ga 9.1+ -Other content for 9.1 version +Other content for versions 9.1 and newer ::: :::{applies-item} stack: preview =9.0 -Other content for 9.0 version +Other content for version 9.0 ::: :::: @@ -112,19 +112,19 @@ Other content for 9.0 version ```markdown ::::{applies-switch} :::{applies-item} { "stack": "ga 9.1+" } -Content for 9.1 version +Content for versions 9.1 and newer ::: :::{applies-item} { "stack": "preview =9.0" } -Content for 9.0 version +Content for version 9.0 ::: :::: ::::{applies-switch} :::{applies-item} stack: ga 9.1+ -Other content for 9.1 version +Other content for versions 9.1 and newer ::: :::{applies-item} stack: preview =9.0 -Other content for 9.0 version +Other content for version 9.0 ::: :::: ``` From b19f554f182c707bb54a2292c0fc7eaa9bffeb55 Mon Sep 17 00:00:00 2001 From: Brandon Morelli Date: Thu, 8 Jan 2026 11:06:53 -0800 Subject: [PATCH 4/4] Update applies-switch syntax in documentation --- docs/syntax/applies-switch.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/syntax/applies-switch.md b/docs/syntax/applies-switch.md index 283c6d401..99a274b4f 100644 --- a/docs/syntax/applies-switch.md +++ b/docs/syntax/applies-switch.md @@ -48,7 +48,7 @@ This is useful when content applies to multiple deployment types or versions sim ::::{applies-switch} -:::{applies-item} { ece: ga, ess: ga } +:::{applies-item} { ece: ga 4.0+, ess: ga } Content for ECE and ECH ::: @@ -64,7 +64,7 @@ Content for Serverless ```markdown ::::{applies-switch} -:::{applies-item} { ece: ga, ess: ga } +:::{applies-item} { ece: ga 4.0+, ess: ga } Content for ECE and ECH :::