From b751d4b1f7684cecea6714a2a6e244c15e38f3e6 Mon Sep 17 00:00:00 2001 From: Paolo Matarazzo <74918781+paolomatarazzo@users.noreply.github.com> Date: Tue, 5 Dec 2023 07:55:07 -0500 Subject: [PATCH] Enable zone pivots using config file in hub docset --- windows/client-management/docfx.json | 1 + windows/configuration/docfx.json | 1 + windows/hub/docfx.json | 1 + windows/hub/zone-pivot-groups.yml | 18 ++++++++++++++++++ windows/security/docfx.json | 1 + windows/whats-new/docfx.json | 1 + 6 files changed, 23 insertions(+) create mode 100644 windows/hub/zone-pivot-groups.yml diff --git a/windows/client-management/docfx.json b/windows/client-management/docfx.json index 06a528a0ca..c0fe754915 100644 --- a/windows/client-management/docfx.json +++ b/windows/client-management/docfx.json @@ -38,6 +38,7 @@ "ms.collection": [ "tier2" ], + "zone_pivot_group_filename": "resources/zone-pivot-groups.json", "breadcrumb_path": "/windows/resources/breadcrumb/toc.json", "uhfHeaderId": "MSDocsHeader-Windows", "ms.technology": "itpro-manage", diff --git a/windows/configuration/docfx.json b/windows/configuration/docfx.json index 36c6607860..f2f46412bc 100644 --- a/windows/configuration/docfx.json +++ b/windows/configuration/docfx.json @@ -38,6 +38,7 @@ "ms.collection": [ "tier2" ], + "zone_pivot_group_filename": "resources/zone-pivot-groups.json", "breadcrumb_path": "/windows/resources/breadcrumb/toc.json", "uhfHeaderId": "MSDocsHeader-Windows", "ms.technology": "itpro-configure", diff --git a/windows/hub/docfx.json b/windows/hub/docfx.json index 321c0452a5..d67fd0b5fb 100644 --- a/windows/hub/docfx.json +++ b/windows/hub/docfx.json @@ -39,6 +39,7 @@ "tier1" ], "audience": "ITPro", + "zone_pivot_group_filename": "resources/zone-pivot-groups.json", "breadcrumb_path": "/windows/resources/breadcrumb/toc.json", "uhfHeaderId": "MSDocsHeader-Windows", "ms.technology": "itpro-fundamentals", diff --git a/windows/hub/zone-pivot-groups.yml b/windows/hub/zone-pivot-groups.yml new file mode 100644 index 0000000000..75e37a9170 --- /dev/null +++ b/windows/hub/zone-pivot-groups.yml @@ -0,0 +1,18 @@ +# YamlMime:ZonePivotGroups +groups: +- id: windows-versions-10-11 + title: Windows versions + prompt: "Select the Windows version you want to learn about:" + pivots: + - id: windows-10 + title: Windows 10 + - id: windows-11 + title: Windows 11 +- id: windows-editions-proent-proedu + title: Windows editions + prompt: "Select the Windows edition you want to learn about:" + pivots: + - id: windows-pro + title: Windows Pro Edu/Education + - id: windows-ent + title: Windows Pro/Enterprise diff --git a/windows/security/docfx.json b/windows/security/docfx.json index 4dffa28451..f8830210ba 100644 --- a/windows/security/docfx.json +++ b/windows/security/docfx.json @@ -39,6 +39,7 @@ "tier2" ], "breadcrumb_path": "/windows/resources/breadcrumb/toc.json", + "zone_pivot_group_filename": "resources/zone-pivot-groups.json", "uhfHeaderId": "MSDocsHeader-Windows", "ms.localizationpriority": "medium", "ms.prod": "windows-client", diff --git a/windows/whats-new/docfx.json b/windows/whats-new/docfx.json index ec64e498bc..c2a7a7209f 100644 --- a/windows/whats-new/docfx.json +++ b/windows/whats-new/docfx.json @@ -38,6 +38,7 @@ "ms.collection": [ "tier2" ], + "zone_pivot_group_filename": "resources/zone-pivot-groups.json", "breadcrumb_path": "/windows/resources/breadcrumb/toc.json", "uhfHeaderId": "MSDocsHeader-Windows", "ms.topic": "article",