Skip to content

Commit 29b06f4

Browse files
[Utilities] Implemented several improvments for readme script (#4134)
* First readme update * tested changes * Remvoed file deletion * Added URL test retry * Added support for orphaned & moved readmes * Ran readme utility
1 parent 4ceedd1 commit 29b06f4

8 files changed

Lines changed: 206 additions & 336 deletions

File tree

‎modules/compute/ssh-public-key/README.md‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# Public SSH Keys `[Microsoft.Compute/sshPublicKeys]`
22

3+
> This module has already been migrated to [AVM](https://github.com/Azure/bicep-registry-modules/tree/main/avm/res). Only the AVM version is expected to receive updates / new features. Please do not work on improving this module in [CARML](https://aka.ms/carml).
4+
35
This module deploys a Public SSH Key.
46

57
> Note: The resource does not auto-generate the key for you.

‎modules/key-vault/vault/README.md‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# Key Vaults `[Microsoft.KeyVault/vaults]`
22

3+
> This module has already been migrated to [AVM](https://github.com/Azure/bicep-registry-modules/tree/main/avm/res). Only the AVM version is expected to receive updates / new features. Please do not work on improving this module in [CARML](https://aka.ms/carml).
4+
35
This module deploys a Key Vault.
46

57
## Navigation

‎modules/kubernetes-configuration/extension/README.md‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# Kubernetes Configuration Extensions `[Microsoft.KubernetesConfiguration/extensions]`
22

3+
> This module has already been migrated to [AVM](https://github.com/Azure/bicep-registry-modules/tree/main/avm/res). Only the AVM version is expected to receive updates / new features. Please do not work on improving this module in [CARML](https://aka.ms/carml).
4+
35
This module deploys a Kubernetes Configuration Extension.
46

57
## Navigation

‎modules/kubernetes-configuration/flux-configuration/README.md‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# Kubernetes Configuration Flux Configurations `[Microsoft.KubernetesConfiguration/fluxConfigurations]`
22

3+
> This module has already been migrated to [AVM](https://github.com/Azure/bicep-registry-modules/tree/main/avm/res). Only the AVM version is expected to receive updates / new features. Please do not work on improving this module in [CARML](https://aka.ms/carml).
4+
35
This module deploys a Kubernetes Configuration Flux Configuration.
46

57
## Navigation

‎modules/network/private-endpoint/README.md‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# Private Endpoints `[Microsoft.Network/privateEndpoints]`
22

3+
> This module has already been migrated to [AVM](https://github.com/Azure/bicep-registry-modules/tree/main/avm/res). Only the AVM version is expected to receive updates / new features. Please do not work on improving this module in [CARML](https://aka.ms/carml).
4+
35
This module deploys a Private Endpoint.
46

57
## Navigation

‎modules/network/public-ip-address/README.md‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# Public IP Addresses `[Microsoft.Network/publicIPAddresses]`
22

3+
> This module has already been migrated to [AVM](https://github.com/Azure/bicep-registry-modules/tree/main/avm/res). Only the AVM version is expected to receive updates / new features. Please do not work on improving this module in [CARML](https://aka.ms/carml).
4+
35
This module deploys a Public IP Address.
46

57
## Navigation

‎utilities/pipelines/sharedScripts/Set-ModuleReadMe.ps1‎

Lines changed: 193 additions & 335 deletions
Large diffs are not rendered by default.

‎utilities/tools/Set-Module.ps1‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,11 +132,11 @@ function Set-Module {
132132
################
133133
if (-not $using:SkipReadMe) {
134134
Write-Output "Generating readme for [$resourceTypeIdentifier]"
135-
. $using:ReadMeScriptFilePath
136135

137136
# If the template was just build, we can pass the JSON into the readme script to be more efficient
138137
$readmeTemplateFilePath = (-not $using:SkipBuild) ? (Join-Path (Split-Path $_ -Parent) 'main.json') : $_
139138

139+
. $using:ReadMeScriptFilePath
140140
Set-ModuleReadMe -TemplateFilePath $readmeTemplateFilePath -CrossReferencedModuleList $using:crossReferencedModuleList
141141
}
142142
}

0 commit comments

Comments
 (0)