From d0f379d54a0817ded8574024e12b787f3748c439 Mon Sep 17 00:00:00 2001 From: Shichao Zhang Date: Wed, 16 Feb 2022 16:57:55 +0800 Subject: [PATCH 01/15] test --- .openpublishing.publish.config.json | 4 +++- api/overview/azure/messaging.eventhubs-readme.md | 10 ++++++++++ docfx.json | 5 +++++ 3 files changed, 18 insertions(+), 1 deletion(-) diff --git a/.openpublishing.publish.config.json b/.openpublishing.publish.config.json index 5db01d5737a3..6b4e220ac314 100644 --- a/.openpublishing.publish.config.json +++ b/.openpublishing.publish.config.json @@ -38,7 +38,9 @@ "docset_name": "azuredotnet", "open_to_public_contributors": false, "monikers": [ - "azure-dotnet" + "azure-dotnet", + "azure-dotnet-preview", + "azure-dotnet-legacy" ], "version": 0, "build_source_folder": ".", diff --git a/api/overview/azure/messaging.eventhubs-readme.md b/api/overview/azure/messaging.eventhubs-readme.md index eb6f639f1e2f..82b507dc21eb 100644 --- a/api/overview/azure/messaging.eventhubs-readme.md +++ b/api/overview/azure/messaging.eventhubs-readme.md @@ -11,7 +11,17 @@ ms.devlang: dotnet ms.service: eventhubs --- +::: moniker range="azure-dotnet-preview" +# Azure Event Hubs client library for .NET - Preview +::: moniker-end + +::: moniker range="azure-dotnet" # Azure Event Hubs client library for .NET - Version 5.6.2 +::: moniker-end + +::: moniker range="azure-dotnet-legacy" +# Azure Event Hubs client library for .NET - Legacy +::: moniker-end Azure Event Hubs is a highly scalable publish-subscribe service that can ingest millions of events per second and stream them to multiple consumers. This lets you process and analyze the massive amounts of data produced by your connected devices and applications. Once Event Hubs has collected the data, you can retrieve, transform, and store it by using any real-time analytics provider or with batching/storage adapters. If you would like to know more about Azure Event Hubs, you may wish to review: [What is Event Hubs](https://docs.microsoft.com/azure/event-hubs/event-hubs-about). diff --git a/docfx.json b/docfx.json index 67b71319f1fc..4ae0a2ab8daa 100644 --- a/docfx.json +++ b/docfx.json @@ -700,6 +700,11 @@ "azure-dotnet", "azure-dotnet-preview", "azure-dotnet-legacy" + ], + "api/overview/azure/**/*.md": [ + "azure-dotnet", + "azure-dotnet-preview", + "azure-dotnet-legacy" ] }, "monikers": { From 348a2b358d6cf7bce2628ef2628ade669e387243 Mon Sep 17 00:00:00 2001 From: Shichao Zhang Date: Wed, 16 Feb 2022 17:58:03 +0800 Subject: [PATCH 02/15] update 1 --- .openpublishing.publish.config.json | 4 +--- docfx.json | 5 ----- 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/.openpublishing.publish.config.json b/.openpublishing.publish.config.json index 6b4e220ac314..5db01d5737a3 100644 --- a/.openpublishing.publish.config.json +++ b/.openpublishing.publish.config.json @@ -38,9 +38,7 @@ "docset_name": "azuredotnet", "open_to_public_contributors": false, "monikers": [ - "azure-dotnet", - "azure-dotnet-preview", - "azure-dotnet-legacy" + "azure-dotnet" ], "version": 0, "build_source_folder": ".", diff --git a/docfx.json b/docfx.json index 4ae0a2ab8daa..67b71319f1fc 100644 --- a/docfx.json +++ b/docfx.json @@ -700,11 +700,6 @@ "azure-dotnet", "azure-dotnet-preview", "azure-dotnet-legacy" - ], - "api/overview/azure/**/*.md": [ - "azure-dotnet", - "azure-dotnet-preview", - "azure-dotnet-legacy" ] }, "monikers": { From 6695e9726d0a9c1ff552111e95ae2b6172b2ffe3 Mon Sep 17 00:00:00 2001 From: Shichao Zhang Date: Thu, 17 Feb 2022 09:33:28 +0800 Subject: [PATCH 03/15] update 2 --- .openpublishing.publish.config.json | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.openpublishing.publish.config.json b/.openpublishing.publish.config.json index 5db01d5737a3..6b4e220ac314 100644 --- a/.openpublishing.publish.config.json +++ b/.openpublishing.publish.config.json @@ -38,7 +38,9 @@ "docset_name": "azuredotnet", "open_to_public_contributors": false, "monikers": [ - "azure-dotnet" + "azure-dotnet", + "azure-dotnet-preview", + "azure-dotnet-legacy" ], "version": 0, "build_source_folder": ".", From 11139ec46000b4bf8d5e1e47cec516301b7975e2 Mon Sep 17 00:00:00 2001 From: Shichao Zhang Date: Thu, 17 Feb 2022 11:30:23 +0800 Subject: [PATCH 04/15] update 3 --- docfx.json | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docfx.json b/docfx.json index 67b71319f1fc..2fdae4fd58ca 100644 --- a/docfx.json +++ b/docfx.json @@ -707,6 +707,11 @@ "azure-dotnet", "azure-dotnet-preview", "azure-dotnet-legacy" + ], + "api/overview/azure/**/*.md": [ + "azure-dotnet", + "azure-dotnet-preview", + "azure-dotnet-legacy" ] }, "langs": { From 4f3633af91e244bc1daa823b285128059064c939 Mon Sep 17 00:00:00 2001 From: Shichao Zhang Date: Fri, 18 Feb 2022 10:39:23 +0800 Subject: [PATCH 05/15] update 4 --- docfx.json | 50 ++++++++++++++++++++++++-------------------------- 1 file changed, 24 insertions(+), 26 deletions(-) diff --git a/docfx.json b/docfx.json index 2fdae4fd58ca..596f18f7de08 100644 --- a/docfx.json +++ b/docfx.json @@ -1,5 +1,15 @@ { "build": { + "groups": { + "azure-dotnet": {"moniker_range": "azure-dotnet"}, + "azure-dotnet-legacy": {"moniker_range": "azure-dotnet-legacy"}, + "azure-dotnet-preview": {"moniker_range": "azure-dotnet-preview"}, + "azure_dotnet_all": { + "moniker_ranges": [ + "azure-dotnet || azure-dotnet-legacy || azure-dotnet-preview" + ] + } + }, "content": [ { "files": [ @@ -12,26 +22,30 @@ "**/includes/**" ], "src": "api", - "dest": "api" + "dest": "api", + "group": "azure_dotnet_all" }, { "files": [ "**/toc.yml" ], "src": "api", - "dest": "api/azure_ref_toc" + "dest": "api/azure_ref_toc", + "group": "azure_dotnet_all" }, { "files": [ "index.md" - ] + ], + "group": "azure_dotnet_all" }, { "files": [ "toc.yml" ], "src": "breadcrumb", - "dest": "azure_breadcrumb" + "dest": "azure_breadcrumb", + "group": "azure_dotnet_all" }, { "files": [ @@ -42,7 +56,8 @@ "**/includes/**" ], "src": "docs-ref-conceptual", - "dest": "azure" + "dest": "azure", + "group": "azure_dotnet_all" } ], "resource": [ @@ -55,14 +70,16 @@ ], "exclude": [ "**/obj/**" - ] + ], + "group": "azure_dotnet_all" } ], "overwrite": [ { "files": [ "api/overwrites/**/*.md" - ] + ], + "group": "azure_dotnet_all" } ], "globalMetadata": { @@ -695,25 +712,6 @@ "https://authoring-docs-microsoft.poolparty.biz/devrel/f0234678-3067-4edc-abf7-8142d54bb7d2" ] }, - "version": { - "api/overview/azure/**/*.yml": [ - "azure-dotnet", - "azure-dotnet-preview", - "azure-dotnet-legacy" - ] - }, - "monikers": { - "api/overview/azure/**/*.yml": [ - "azure-dotnet", - "azure-dotnet-preview", - "azure-dotnet-legacy" - ], - "api/overview/azure/**/*.md": [ - "azure-dotnet", - "azure-dotnet-preview", - "azure-dotnet-legacy" - ] - }, "langs": { "api/**.yml": [ "csharp", From b2fb9f41f564c09cb3743c3e94e467501fcb3cd4 Mon Sep 17 00:00:00 2001 From: Shichao Zhang Date: Fri, 18 Feb 2022 11:43:47 +0800 Subject: [PATCH 06/15] update 4 --- .openpublishing.publish.config.json | 4 +--- api/overview/azure/messaging.eventhubs-readme.md | 6 +++--- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/.openpublishing.publish.config.json b/.openpublishing.publish.config.json index 6b4e220ac314..5db01d5737a3 100644 --- a/.openpublishing.publish.config.json +++ b/.openpublishing.publish.config.json @@ -38,9 +38,7 @@ "docset_name": "azuredotnet", "open_to_public_contributors": false, "monikers": [ - "azure-dotnet", - "azure-dotnet-preview", - "azure-dotnet-legacy" + "azure-dotnet" ], "version": 0, "build_source_folder": ".", diff --git a/api/overview/azure/messaging.eventhubs-readme.md b/api/overview/azure/messaging.eventhubs-readme.md index 82b507dc21eb..00cdb961e43b 100644 --- a/api/overview/azure/messaging.eventhubs-readme.md +++ b/api/overview/azure/messaging.eventhubs-readme.md @@ -12,15 +12,15 @@ ms.service: eventhubs --- ::: moniker range="azure-dotnet-preview" -# Azure Event Hubs client library for .NET - Preview +## Azure Event Hubs client library for .NET - Preview ::: moniker-end ::: moniker range="azure-dotnet" -# Azure Event Hubs client library for .NET - Version 5.6.2 +## Azure Event Hubs client library for .NET - Version 5.6.2 ::: moniker-end ::: moniker range="azure-dotnet-legacy" -# Azure Event Hubs client library for .NET - Legacy +## Azure Event Hubs client library for .NET - Legacy ::: moniker-end From 140744bb6357b0a0a9d5a7df44681036ca370562 Mon Sep 17 00:00:00 2001 From: Shichao Zhang Date: Fri, 18 Feb 2022 12:41:36 +0800 Subject: [PATCH 07/15] update 5 --- api/overview/azure/messaging.eventhubs-readme.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/api/overview/azure/messaging.eventhubs-readme.md b/api/overview/azure/messaging.eventhubs-readme.md index 00cdb961e43b..089368ccfe33 100644 --- a/api/overview/azure/messaging.eventhubs-readme.md +++ b/api/overview/azure/messaging.eventhubs-readme.md @@ -11,6 +11,8 @@ ms.devlang: dotnet ms.service: eventhubs --- +# Azure Event Hubs client library for .NET (H1) + ::: moniker range="azure-dotnet-preview" ## Azure Event Hubs client library for .NET - Preview ::: moniker-end From c4944bdfbbebd8e854c16884e33a16260bf9ff45 Mon Sep 17 00:00:00 2001 From: Shichao Zhang Date: Fri, 18 Feb 2022 13:26:09 +0800 Subject: [PATCH 08/15] update 6 --- .../azure/messaging.eventhubs-readme.md | 7 +-- docfx.json | 48 +++++++++---------- 2 files changed, 28 insertions(+), 27 deletions(-) diff --git a/api/overview/azure/messaging.eventhubs-readme.md b/api/overview/azure/messaging.eventhubs-readme.md index 089368ccfe33..4e16e9dfd495 100644 --- a/api/overview/azure/messaging.eventhubs-readme.md +++ b/api/overview/azure/messaging.eventhubs-readme.md @@ -9,20 +9,21 @@ ms.prod: azure ms.technology: azure ms.devlang: dotnet ms.service: eventhubs +monikers --- # Azure Event Hubs client library for .NET (H1) ::: moniker range="azure-dotnet-preview" -## Azure Event Hubs client library for .NET - Preview + Azure Event Hubs client library for .NET - Preview ::: moniker-end ::: moniker range="azure-dotnet" -## Azure Event Hubs client library for .NET - Version 5.6.2 + Azure Event Hubs client library for .NET - Version 5.6.2 ::: moniker-end ::: moniker range="azure-dotnet-legacy" -## Azure Event Hubs client library for .NET - Legacy +Azure Event Hubs client library for .NET - Legacy ::: moniker-end diff --git a/docfx.json b/docfx.json index 596f18f7de08..6b7af4e518a6 100644 --- a/docfx.json +++ b/docfx.json @@ -1,15 +1,5 @@ { "build": { - "groups": { - "azure-dotnet": {"moniker_range": "azure-dotnet"}, - "azure-dotnet-legacy": {"moniker_range": "azure-dotnet-legacy"}, - "azure-dotnet-preview": {"moniker_range": "azure-dotnet-preview"}, - "azure_dotnet_all": { - "moniker_ranges": [ - "azure-dotnet || azure-dotnet-legacy || azure-dotnet-preview" - ] - } - }, "content": [ { "files": [ @@ -22,30 +12,26 @@ "**/includes/**" ], "src": "api", - "dest": "api", - "group": "azure_dotnet_all" + "dest": "api" }, { "files": [ "**/toc.yml" ], "src": "api", - "dest": "api/azure_ref_toc", - "group": "azure_dotnet_all" + "dest": "api/azure_ref_toc" }, { "files": [ "index.md" - ], - "group": "azure_dotnet_all" + ] }, { "files": [ "toc.yml" ], "src": "breadcrumb", - "dest": "azure_breadcrumb", - "group": "azure_dotnet_all" + "dest": "azure_breadcrumb" }, { "files": [ @@ -56,8 +42,7 @@ "**/includes/**" ], "src": "docs-ref-conceptual", - "dest": "azure", - "group": "azure_dotnet_all" + "dest": "azure" } ], "resource": [ @@ -70,16 +55,14 @@ ], "exclude": [ "**/obj/**" - ], - "group": "azure_dotnet_all" + ] } ], "overwrite": [ { "files": [ "api/overwrites/**/*.md" - ], - "group": "azure_dotnet_all" + ] } ], "globalMetadata": { @@ -712,6 +695,23 @@ "https://authoring-docs-microsoft.poolparty.biz/devrel/f0234678-3067-4edc-abf7-8142d54bb7d2" ] }, + "version": { + "api/overview/azure/**/*.yml": [ + "azure-dotnet", + "azure-dotnet-preview", + "azure-dotnet-legacy" + ] + }, + "monikerRange": { + "api/overview/azure/**/*.md" : "azure-dotnet || azure-dotnet-preview || azure-dotnet-legacy" + }, + "monikers": { + "api/overview/azure/**/*.yml": [ + "azure-dotnet", + "azure-dotnet-preview", + "azure-dotnet-legacy" + ] + }, "langs": { "api/**.yml": [ "csharp", From 3d052d0ea349f10510aa30a7e834c5c5a6435baa Mon Sep 17 00:00:00 2001 From: Shichao Zhang Date: Fri, 18 Feb 2022 13:32:54 +0800 Subject: [PATCH 09/15] update 6 --- api/overview/azure/messaging.eventhubs-readme.md | 1 - 1 file changed, 1 deletion(-) diff --git a/api/overview/azure/messaging.eventhubs-readme.md b/api/overview/azure/messaging.eventhubs-readme.md index 4e16e9dfd495..654c889ff277 100644 --- a/api/overview/azure/messaging.eventhubs-readme.md +++ b/api/overview/azure/messaging.eventhubs-readme.md @@ -9,7 +9,6 @@ ms.prod: azure ms.technology: azure ms.devlang: dotnet ms.service: eventhubs -monikers --- # Azure Event Hubs client library for .NET (H1) From 3d49233a00f052d3f1729d246885324e8166d83b Mon Sep 17 00:00:00 2001 From: Shichao Zhang Date: Fri, 18 Feb 2022 15:19:29 +0800 Subject: [PATCH 10/15] update 6 --- api/overview/azure/messaging.eventhubs-readme.md | 1 + 1 file changed, 1 insertion(+) diff --git a/api/overview/azure/messaging.eventhubs-readme.md b/api/overview/azure/messaging.eventhubs-readme.md index 654c889ff277..6d4de1f11dff 100644 --- a/api/overview/azure/messaging.eventhubs-readme.md +++ b/api/overview/azure/messaging.eventhubs-readme.md @@ -9,6 +9,7 @@ ms.prod: azure ms.technology: azure ms.devlang: dotnet ms.service: eventhubs +monikerRange: azure-dotnet || azure-dotnet-preview || azure-dotnet-legacy --- # Azure Event Hubs client library for .NET (H1) From c501b9746f2604cf20f7c2c4b5001f5c0a3db97f Mon Sep 17 00:00:00 2001 From: Shichao Zhang Date: Mon, 21 Feb 2022 09:58:20 +0800 Subject: [PATCH 11/15] update --- api/overview/azure/messaging.eventhubs-readme.md | 1 - docfx.json | 8 +++++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/api/overview/azure/messaging.eventhubs-readme.md b/api/overview/azure/messaging.eventhubs-readme.md index 6d4de1f11dff..654c889ff277 100644 --- a/api/overview/azure/messaging.eventhubs-readme.md +++ b/api/overview/azure/messaging.eventhubs-readme.md @@ -9,7 +9,6 @@ ms.prod: azure ms.technology: azure ms.devlang: dotnet ms.service: eventhubs -monikerRange: azure-dotnet || azure-dotnet-preview || azure-dotnet-legacy --- # Azure Event Hubs client library for .NET (H1) diff --git a/docfx.json b/docfx.json index 6b7af4e518a6..3e7ec61df34c 100644 --- a/docfx.json +++ b/docfx.json @@ -702,14 +702,16 @@ "azure-dotnet-legacy" ] }, - "monikerRange": { - "api/overview/azure/**/*.md" : "azure-dotnet || azure-dotnet-preview || azure-dotnet-legacy" - }, "monikers": { "api/overview/azure/**/*.yml": [ "azure-dotnet", "azure-dotnet-preview", "azure-dotnet-legacy" + ], + "**/*.md": [ + "azure-dotnet", + "azure-dotnet-preview", + "azure-dotnet-legacy" ] }, "langs": { From 7ffca61eb1081ea3aaaf8d4ad4a16ba19e3b5eaf Mon Sep 17 00:00:00 2001 From: Shichao Zhang Date: Mon, 21 Feb 2022 11:19:17 +0800 Subject: [PATCH 12/15] update --- .openpublishing.publish.config.json | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.openpublishing.publish.config.json b/.openpublishing.publish.config.json index 5db01d5737a3..6b4e220ac314 100644 --- a/.openpublishing.publish.config.json +++ b/.openpublishing.publish.config.json @@ -38,7 +38,9 @@ "docset_name": "azuredotnet", "open_to_public_contributors": false, "monikers": [ - "azure-dotnet" + "azure-dotnet", + "azure-dotnet-preview", + "azure-dotnet-legacy" ], "version": 0, "build_source_folder": ".", From 42b6fc5aa518eeab43d06e10e5a4c61541ddf2e5 Mon Sep 17 00:00:00 2001 From: Shichao Zhang Date: Mon, 21 Feb 2022 13:33:34 +0800 Subject: [PATCH 13/15] update --- docfx.json | 1 + 1 file changed, 1 insertion(+) diff --git a/docfx.json b/docfx.json index 3e7ec61df34c..04fe1c6c5de4 100644 --- a/docfx.json +++ b/docfx.json @@ -695,6 +695,7 @@ "https://authoring-docs-microsoft.poolparty.biz/devrel/f0234678-3067-4edc-abf7-8142d54bb7d2" ] }, + "monikerRange": "azure-dotnet || azure-dotnet-preview || azure-dotnet-legacy", "version": { "api/overview/azure/**/*.yml": [ "azure-dotnet", From 32046b022bc1b90bce9b1b09487716c15005bfd7 Mon Sep 17 00:00:00 2001 From: Shichao Zhang Date: Mon, 21 Feb 2022 15:10:03 +0800 Subject: [PATCH 14/15] update --- api/overview/azure/messaging.eventhubs-readme.md | 1 + docfx.json | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/api/overview/azure/messaging.eventhubs-readme.md b/api/overview/azure/messaging.eventhubs-readme.md index 654c889ff277..69eac0f0dedc 100644 --- a/api/overview/azure/messaging.eventhubs-readme.md +++ b/api/overview/azure/messaging.eventhubs-readme.md @@ -9,6 +9,7 @@ ms.prod: azure ms.technology: azure ms.devlang: dotnet ms.service: eventhubs +monikerRange: azure-dotnet || azure-dotnet-preview || azure-dotnet-legacy --- # Azure Event Hubs client library for .NET (H1) diff --git a/docfx.json b/docfx.json index 04fe1c6c5de4..3e7ec61df34c 100644 --- a/docfx.json +++ b/docfx.json @@ -695,7 +695,6 @@ "https://authoring-docs-microsoft.poolparty.biz/devrel/f0234678-3067-4edc-abf7-8142d54bb7d2" ] }, - "monikerRange": "azure-dotnet || azure-dotnet-preview || azure-dotnet-legacy", "version": { "api/overview/azure/**/*.yml": [ "azure-dotnet", From ff9c0144095d5f23e0b468b80e1bf587b0d8c1b1 Mon Sep 17 00:00:00 2001 From: Shichao Zhang Date: Mon, 21 Feb 2022 16:58:31 +0800 Subject: [PATCH 15/15] update --- .../azure/messaging.eventhubs-readme.md | 1 - docfx.json | 43 ++++++++----------- 2 files changed, 17 insertions(+), 27 deletions(-) diff --git a/api/overview/azure/messaging.eventhubs-readme.md b/api/overview/azure/messaging.eventhubs-readme.md index 69eac0f0dedc..654c889ff277 100644 --- a/api/overview/azure/messaging.eventhubs-readme.md +++ b/api/overview/azure/messaging.eventhubs-readme.md @@ -9,7 +9,6 @@ ms.prod: azure ms.technology: azure ms.devlang: dotnet ms.service: eventhubs -monikerRange: azure-dotnet || azure-dotnet-preview || azure-dotnet-legacy --- # Azure Event Hubs client library for .NET (H1) diff --git a/docfx.json b/docfx.json index 3e7ec61df34c..8789440d3c8d 100644 --- a/docfx.json +++ b/docfx.json @@ -12,26 +12,30 @@ "**/includes/**" ], "src": "api", - "dest": "api" + "dest": "api", + "group": "all" }, { "files": [ "**/toc.yml" ], "src": "api", - "dest": "api/azure_ref_toc" + "dest": "api/azure_ref_toc", + "group": "all" }, { "files": [ "index.md" - ] + ], + "group": "all" }, { "files": [ "toc.yml" ], "src": "breadcrumb", - "dest": "azure_breadcrumb" + "dest": "azure_breadcrumb", + "group": "all" }, { "files": [ @@ -42,7 +46,8 @@ "**/includes/**" ], "src": "docs-ref-conceptual", - "dest": "azure" + "dest": "azure", + "group": "all" } ], "resource": [ @@ -55,14 +60,16 @@ ], "exclude": [ "**/obj/**" - ] + ], + "group": "all" } ], "overwrite": [ { "files": [ "api/overwrites/**/*.md" - ] + ], + "group": "all" } ], "globalMetadata": { @@ -100,6 +107,9 @@ } } }, + "groups" : { + "all":{"moniker_range": "azure-dotnet || azure-dotnet-preview || azure-dotnet-legacy" } + }, "fileMetadata": { "ms.service": { "api/Azure.Communication*.yml": "azure-communication-services", @@ -695,25 +705,6 @@ "https://authoring-docs-microsoft.poolparty.biz/devrel/f0234678-3067-4edc-abf7-8142d54bb7d2" ] }, - "version": { - "api/overview/azure/**/*.yml": [ - "azure-dotnet", - "azure-dotnet-preview", - "azure-dotnet-legacy" - ] - }, - "monikers": { - "api/overview/azure/**/*.yml": [ - "azure-dotnet", - "azure-dotnet-preview", - "azure-dotnet-legacy" - ], - "**/*.md": [ - "azure-dotnet", - "azure-dotnet-preview", - "azure-dotnet-legacy" - ] - }, "langs": { "api/**.yml": [ "csharp",