Skip to content

Commit

Permalink
Fix the issue that CI doesn't check online version of help doc (#20901)
Browse files Browse the repository at this point in the history
* Fix the issue that CI doesn't check online version of help doc

* Fix the online version in help docs

* Fix the online version in help docs

* Fix the example issue

* Fix the example issue
  • Loading branch information
wyunchi-ms authored Feb 13, 2023
1 parent ddf4080 commit 4d1b136
Show file tree
Hide file tree
Showing 62 changed files with 63 additions and 69 deletions.
1 change: 0 additions & 1 deletion build.proj
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,6 @@
<MakeDir Directories="$(StaticAnalysisOutputDirectory)" />

<Exec Command="$(PowerShellCoreCommandPrefix) &quot;Set-Variable -Name ProgressPreference -Value 'SilentlyContinue';. $(RepoTools)/GenerateHelp.ps1 -ValidateMarkdownHelp -GenerateMamlHelp -BuildConfig $(Configuration)&quot;" />
<Exec Command="dotnet $(RepoArtifacts)StaticAnalysis/StaticAnalysis.Netcore.dll -p $(RepoArtifacts)$(Configuration) -r $(StaticAnalysisOutputDirectory) --analyzers help -h -u -m '@(ModulesChanged)'" Condition="'$(RunStaticAnalysis)' == 'true'" />
</Target>

<!-- Everything except Publish -->
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
external help file:
Module Name: Az.ApplicationInsights
online version: https://learn.microsoft.com/powershell/module/az.applicationinsights/new-azapplicationinsightscontinuousexport
online version: https://learn.microsoft.com/powershell/module/az.applicationinsights/set-azapplicationinsightscontinuousexport
schema: 2.0.0
---

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
external help file:
Module Name: Az.ApplicationInsights
online version: https://learn.microsoft.com/powershell/module/az.applicationinsights/new-azapplicationinsights
online version: https://learn.microsoft.com/powershell/module/az.applicationinsights/update-azapplicationinsights
schema: 2.0.0
---

Expand Down
2 changes: 1 addition & 1 deletion src/Compute/Compute/help/Restart-AzHost.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
external help file: Microsoft.Azure.PowerShell.Cmdlets.Compute.dll-Help.xml
Module Name: Az.Compute
online version:
online version: https://learn.microsoft.com/powershell/module/az.compute/restart-azhost
schema: 2.0.0
---

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
external help file: Microsoft.Azure.PowerShell.Cmdlets.EventHub.dll-Help.xml
Module Name: Az.EventHub
online version:
online version: https://learn.microsoft.com/powershell/module/az.eventhub/new-azeventhubencryptionconfig
schema: 2.0.0
---

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
external help file: Microsoft.Azure.PowerShell.Cmdlets.KeyVault.dll-Help.xml
Module Name: Az.KeyVault
online version:
online version: https://learn.microsoft.com/powershell/module/az.keyvault/get-azkeyvaultkeyrotationpolicy
schema: 2.0.0
---

Expand Down
2 changes: 1 addition & 1 deletion src/KeyVault/KeyVault/help/Invoke-AzKeyVaultKeyRotation.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
external help file: Microsoft.Azure.PowerShell.Cmdlets.KeyVault.dll-Help.xml
Module Name: Az.KeyVault
online version:
online version: https://learn.microsoft.com/powershell/module/az.keyvault/invoke-azkeyvaultkeyrotation
schema: 2.0.0
---

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
external help file: Microsoft.Azure.PowerShell.Cmdlets.KeyVault.dll-Help.xml
Module Name: Az.KeyVault
online version:
online version: https://learn.microsoft.com/powershell/module/az.keyvault/set-azkeyvaultkeyrotationpolicy
schema: 2.0.0
---

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
external help file:
Module Name: Az.Monitor
online version: https://learn.microsoft.com/powershell/module/az.ActivityLogAlert/new-AzActivityLogAlertActionGroupObject
online version: https://learn.microsoft.com/powershell/module/az.monitor/new-azactivitylogalertactiongroupobject
schema: 2.0.0
---

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
external help file:
Module Name: Az.Monitor
online version: https://learn.microsoft.com/powershell/module/az.ActivityLogAlert/new-AzActivityLogAlertAlertRuleAnyOfOrLeafConditionObject
online version: https://learn.microsoft.com/powershell/module/az.monitor/new-azactivitylogalertalertruleanyoforleafconditionobject
schema: 2.0.0
---

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
external help file:
Module Name: Az.Monitor
online version: https://learn.microsoft.com/powershell/module/az.ActivityLogAlert/new-AzActivityLogAlertAlertRuleLeafConditionObject
online version: https://learn.microsoft.com/powershell/module/az.monitor/new-azactivitylogalertalertruleleafconditionobject
schema: 2.0.0
---

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
external help file:
Module Name: Az.Monitor
online version: https://learn.microsoft.com/powershell/module/az.Autoscale/new-AzAutoscaleNotificationObject
online version: https://learn.microsoft.com/powershell/module/az.monitor/new-azautoscalenotificationobject
schema: 2.0.0
---

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
external help file:
Module Name: Az.Monitor
online version: https://learn.microsoft.com/powershell/module/az.Autoscale/new-AzAutoscaleProfileObject
online version: https://learn.microsoft.com/powershell/module/az.monitor/new-azautoscaleprofileobject
schema: 2.0.0
---

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
external help file:
Module Name: Az.Monitor
online version: https://learn.microsoft.com/powershell/module/az.Autoscale/new-AzAutoscaleScaleRuleMetricDimensionObject
online version: https://learn.microsoft.com/powershell/module/az.monitor/new-azautoscalescalerulemetricdimensionobject
schema: 2.0.0
---

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
external help file:
Module Name: Az.Monitor
online version: https://learn.microsoft.com/powershell/module/az.Autoscale/new-AzAutoscaleScaleRuleObject
online version: https://learn.microsoft.com/powershell/module/az.monitor/new-azautoscalescaleruleobject
schema: 2.0.0
---

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
external help file:
Module Name: Az.Monitor
online version: https://learn.microsoft.com/powershell/module/az.Autoscale/new-AzAutoscaleWebhookNotificationObject
online version: https://learn.microsoft.com/powershell/module/az.monitor/new-azautoscalewebhooknotificationobject
schema: 2.0.0
---

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
external help file:
Module Name: Az.Monitor
online version: https://learn.microsoft.com/powershell/module/az.DiagnosticSetting/new-AzDiagnosticSettingLogSettingsObject
online version: https://learn.microsoft.com/powershell/module/az.monitor/new-azdiagnosticsettinglogsettingsobject
schema: 2.0.0
---

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
external help file:
Module Name: Az.Monitor
online version: https://learn.microsoft.com/powershell/module/az.DiagnosticSetting/new-AzDiagnosticSettingMetricSettingsObject
online version: https://learn.microsoft.com/powershell/module/az.monitor/new-azdiagnosticsettingmetricsettingsobject
schema: 2.0.0
---

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
external help file:
Module Name: Az.Monitor
online version: https://learn.microsoft.com/powershell/module/az.DiagnosticSetting/new-AzDiagnosticSettingSubscriptionLogSettingsObject
online version: https://learn.microsoft.com/powershell/module/az.monitor/new-azdiagnosticsettingsubscriptionlogsettingsobject
schema: 2.0.0
---

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
external help file: Az.ActivityLogAlert.psm1-help.xml
Module Name: Az.Monitor
online version: https://learn.microsoft.com/powershell/module/az.ActivityLogAlert/new-AzActivityLogAlertActionGroupObject
online version: https://learn.microsoft.com/powershell/module/az.monitor/new-azactivitylogalertactiongroupobject
schema: 2.0.0
---

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
external help file: Az.ActivityLogAlert.psm1-help.xml
Module Name: Az.Monitor
online version: https://learn.microsoft.com/powershell/module/az.ActivityLogAlert/new-AzActivityLogAlertAlertRuleAnyOfOrLeafConditionObject
online version: https://learn.microsoft.com/powershell/module/az.monitor/new-azactivitylogalertalertruleanyoforleafconditionobject
schema: 2.0.0
---

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
external help file: Az.ActivityLogAlert.psm1-help.xml
Module Name: Az.Monitor
online version: https://learn.microsoft.com/powershell/module/az.ActivityLogAlert/new-AzActivityLogAlertAlertRuleLeafConditionObject
online version: https://learn.microsoft.com/powershell/module/az.monitor/new-azactivitylogalertalertruleleafconditionobject
schema: 2.0.0
---

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
external help file: Az.Autoscale.psm1-help.xml
Module Name: Az.Monitor
online version: https://learn.microsoft.com/powershell/module/az.Autoscale/new-AzAutoscaleNotificationObject
online version: https://learn.microsoft.com/powershell/module/az.monitor/new-azautoscalenotificationobject
schema: 2.0.0
---

Expand Down
2 changes: 1 addition & 1 deletion src/Monitor/Monitor/help/New-AzAutoscaleProfileObject.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
external help file: Az.Autoscale.psm1-help.xml
Module Name: Az.Monitor
online version: https://learn.microsoft.com/powershell/module/az.Autoscale/new-AzAutoscaleProfileObject
online version: https://learn.microsoft.com/powershell/module/az.monitor/new-azautoscaleprofileobject
schema: 2.0.0
---

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
external help file: Az.Autoscale.psm1-help.xml
Module Name: Az.Monitor
online version: https://learn.microsoft.com/powershell/module/az.Autoscale/new-AzAutoscaleScaleRuleMetricDimensionObject
online version: https://learn.microsoft.com/powershell/module/az.monitor/new-azautoscalescalerulemetricdimensionobject
schema: 2.0.0
---

Expand Down
2 changes: 1 addition & 1 deletion src/Monitor/Monitor/help/New-AzAutoscaleScaleRuleObject.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
external help file: Az.Autoscale.psm1-help.xml
Module Name: Az.Monitor
online version: https://learn.microsoft.com/powershell/module/az.Autoscale/new-AzAutoscaleScaleRuleObject
online version: https://learn.microsoft.com/powershell/module/az.monitor/new-azautoscalescaleruleobject
schema: 2.0.0
---

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
external help file: Az.Autoscale.psm1-help.xml
Module Name: Az.Monitor
online version: https://learn.microsoft.com/powershell/module/az.Autoscale/new-AzAutoscaleWebhookNotificationObject
online version: https://learn.microsoft.com/powershell/module/az.monitor/new-azautoscalewebhooknotificationobject
schema: 2.0.0
---

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
external help file: Az.DiagnosticSetting.psm1-help.xml
Module Name: Az.Monitor
online version: https://learn.microsoft.com/powershell/module/az.DiagnosticSetting/new-AzDiagnosticSettingLogSettingsObject
online version: https://learn.microsoft.com/powershell/module/az.monitor/new-azdiagnosticsettinglogsettingsobject
schema: 2.0.0
---

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
external help file: Az.DiagnosticSetting.psm1-help.xml
Module Name: Az.Monitor
online version: https://learn.microsoft.com/powershell/module/az.DiagnosticSetting/new-AzDiagnosticSettingMetricSettingsObject
online version: https://learn.microsoft.com/powershell/module/az.monitor/new-azdiagnosticsettingmetricsettingsobject
schema: 2.0.0
---

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
external help file: Az.DiagnosticSetting.psm1-help.xml
Module Name: Az.Monitor
online version: https://learn.microsoft.com/powershell/module/az.DiagnosticSetting/new-AzDiagnosticSettingSubscriptionLogSettingsObject
online version: https://learn.microsoft.com/powershell/module/az.monitor/new-azdiagnosticsettingsubscriptionlogsettingsobject
schema: 2.0.0
---

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
external help file: Az.ScheduledQueryRule.psm1-help.xml
Module Name: Az.Monitor
online version: https://learn.microsoft.com/powershell/module/az.ScheduledQueryRule/new-AzScheduledQueryRuleConditionObject
online version: https://learn.microsoft.com/powershell/module/az.monitor/new-azscheduledqueryruleconditionobject
schema: 2.0.0
---

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
external help file: Az.ScheduledQueryRule.psm1-help.xml
Module Name: Az.Monitor
online version: https://learn.microsoft.com/powershell/module/az.ScheduledQueryRule/new-AzScheduledQueryRuleDimensionObject
online version: https://learn.microsoft.com/powershell/module/az.monitor/new-azscheduledqueryruledimensionobject
schema: 2.0.0
---

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
external help file:
Module Name: Az.Monitor
online version: https://learn.microsoft.com/powershell/module/az.ScheduledQueryRule/new-AzScheduledQueryRuleConditionObject
online version: https://learn.microsoft.com/powershell/module/az.monitor/new-azscheduledqueryruleconditionobject
schema: 2.0.0
---

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
external help file:
Module Name: Az.Monitor
online version: https://learn.microsoft.com/powershell/module/az.ScheduledQueryRule/new-AzScheduledQueryRuleDimensionObject
online version: https://learn.microsoft.com/powershell/module/az.monitor/new-azscheduledqueryruledimensionobject
schema: 2.0.0
---

Expand Down
2 changes: 1 addition & 1 deletion src/Network/Network/help/Deploy-AzNetworkManagerCommit.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
external help file: Microsoft.Azure.PowerShell.Cmdlets.Network.dll-Help.xml
Module Name: Az.Network
online version:
online version: https://learn.microsoft.com/powershell/module/az.network/deploy-aznetworkmanagercommit
schema: 2.0.0
---

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
external help file: Microsoft.Azure.PowerShell.Cmdlets.Network.dll-Help.xml
Module Name: Az.Network
online version: https://learn.microsoft.com/powershell/module/az.network/new-azp2svpngateway
online version: https://learn.microsoft.com/powershell/module/az.network/get-azvpnserverconfigurationpolicygroup
schema: 2.0.0
---

Expand Down
2 changes: 1 addition & 1 deletion src/Network/Network/help/New-AzFirewallPolicySqlSetting.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
external help file: Microsoft.Azure.PowerShell.Cmdlets.Network.dll-Help.xml
Module Name: Az.Network
online version:
online version: https://learn.microsoft.com/powershell/module/az.network/new-azfirewallpolicysqlsetting
schema: 2.0.0
---

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
external help file: Microsoft.Azure.PowerShell.Cmdlets.Network.dll-Help.xml
Module Name: Az.Network
online version:
online version: https://learn.microsoft.com/powershell/module/az.network/new-azprivateendpointipconfiguration
schema: 2.0.0
---

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
external help file: Microsoft.Azure.PowerShell.Cmdlets.Network.dll-Help.xml
Module Name: Az.Network
online version: https://learn.microsoft.com/powershell/module/az.network/new-azvirtualnetworkgatewaynatrule
online version: https://learn.microsoft.com/powershell/module/az.network/new-azvirtualnetworkgatewaypolicygroup
schema: 2.0.0
---

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
external help file: Microsoft.Azure.PowerShell.Cmdlets.Network.dll-Help.xml
Module Name: Az.Network
online version: https://learn.microsoft.com/powershell/module/az.network/new-azvirtualnetworkgatewaynatrule
online version: https://learn.microsoft.com/powershell/module/az.network/new-azvirtualnetworkgatewaypolicygroupmember
schema: 2.0.0
---

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
external help file: Microsoft.Azure.PowerShell.Cmdlets.Network.dll-Help.xml
Module Name: Az.Network
online version: https://learn.microsoft.com/powershell/module/az.network/new-azvpnclientconfiguration
online version: https://learn.microsoft.com/powershell/module/az.network/new-azvpnclientconnectionconfiguration
schema: 2.0.0
---

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
external help file: Microsoft.Azure.PowerShell.Cmdlets.Network.dll-Help.xml
Module Name: Az.Network
online version: https://learn.microsoft.com/powershell/module/az.network/new-azp2svpngateway
online version: https://learn.microsoft.com/powershell/module/az.network/new-azvpnserverconfigurationpolicygroup
schema: 2.0.0
---

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
external help file: Microsoft.Azure.PowerShell.Cmdlets.Network.dll-Help.xml
Module Name: Az.Network
online version: https://learn.microsoft.com/powershell/module/az.network/new-azp2svpngateway
online version: https://learn.microsoft.com/powershell/module/az.network/remove-azvpnserverconfigurationpolicygroup
schema: 2.0.0
---

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
external help file: Microsoft.Azure.PowerShell.Cmdlets.Network.dll-Help.xml
Module Name: Az.Network
online version: https://learn.microsoft.com/powershell/module/az.network/new-azp2svpngateway
online version: https://learn.microsoft.com/powershell/module/az.network/update-azvpnserverconfigurationpolicygroup
schema: 2.0.0
---

Expand Down
Loading

0 comments on commit 4d1b136

Please sign in to comment.