From c513d347e6582bb95a231331d5c3f340bae378d5 Mon Sep 17 00:00:00 2001 From: Yunchi Wang Date: Fri, 21 Apr 2023 08:19:13 +0800 Subject: [PATCH 1/2] update --- .ci-config.json | 2 +- src/BotService/help/New-AzBotService.md | 2 +- .../StaticAnalysis/ExampleAnalyzer/Measure-MarkdownOrScript.ps1 | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.ci-config.json b/.ci-config.json index 6aff884ffc49..a68d381c8226 100644 --- a/.ci-config.json +++ b/.ci-config.json @@ -89,7 +89,7 @@ "phases": [ "build:module", "help:module", - "example:module" + "help-example:module" ] }, { diff --git a/src/BotService/help/New-AzBotService.md b/src/BotService/help/New-AzBotService.md index e3a612ec01c5..5136680c5d60 100644 --- a/src/BotService/help/New-AzBotService.md +++ b/src/BotService/help/New-AzBotService.md @@ -35,7 +35,7 @@ Returns a BotService specified by the parameters. ### Example 1: Create a new bot ```powershell -New-AzBotService -resourcegroupname BotTest-rg -name BotTest1 -ApplicationId "af5fce4d-ee68-4b25-be09-f3222582e133" -Location global -Sku F0 -Description "123134" -Registration +New-AzBotService -resourcegroupnameBotTest-rg -name BotTest1 -ApplicationId "af5fce4d-ee68-4b25-be09-f3222582e133" -Location global -Sku F0 -Description "123134" -Registration ``` ```output diff --git a/tools/StaticAnalysis/ExampleAnalyzer/Measure-MarkdownOrScript.ps1 b/tools/StaticAnalysis/ExampleAnalyzer/Measure-MarkdownOrScript.ps1 index ef2d69283e9d..7312d01607eb 100644 --- a/tools/StaticAnalysis/ExampleAnalyzer/Measure-MarkdownOrScript.ps1 +++ b/tools/StaticAnalysis/ExampleAnalyzer/Measure-MarkdownOrScript.ps1 @@ -72,7 +72,7 @@ if ($PSCmdlet.ParameterSetName -eq "Markdown") { } foreach ($_ in Get-ChildItem $MarkdownPath -Recurse:$Recurse) { # Filter the .md of overview in "\help\" - if ((Get-Item -Path $_.FullName).Directory.Name -eq "help" -and $_.FullName -cmatch ".*\.md" -and $_.BaseName -cmatch "^[A-Z][a-z]+-([A-Z][a-z0-9]*)+$") { + if (((Get-Item -Path $_.FullName).Directory.Name -eq "help" -or (Get-Item -Path $_.FullName).Directory.Name -eq "docs") -and $_.FullName -cmatch ".*\.md" -and $_.BaseName -cmatch "^[A-Z][a-z]+-([A-Z][a-z0-9]*)+$") { if ((Get-Item -Path $_.FullName).Directory.Parent.Name -eq "netcoreapp3.1") { continue } From cfbee02b7da2f98e62cf6ec0305de1ed8d9c8de5 Mon Sep 17 00:00:00 2001 From: Yunchi Wang Date: Fri, 21 Apr 2023 08:58:35 +0800 Subject: [PATCH 2/2] update --- src/BotService/help/New-AzBotService.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/BotService/help/New-AzBotService.md b/src/BotService/help/New-AzBotService.md index 5136680c5d60..e3a612ec01c5 100644 --- a/src/BotService/help/New-AzBotService.md +++ b/src/BotService/help/New-AzBotService.md @@ -35,7 +35,7 @@ Returns a BotService specified by the parameters. ### Example 1: Create a new bot ```powershell -New-AzBotService -resourcegroupnameBotTest-rg -name BotTest1 -ApplicationId "af5fce4d-ee68-4b25-be09-f3222582e133" -Location global -Sku F0 -Description "123134" -Registration +New-AzBotService -resourcegroupname BotTest-rg -name BotTest1 -ApplicationId "af5fce4d-ee68-4b25-be09-f3222582e133" -Location global -Sku F0 -Description "123134" -Registration ``` ```output