diff --git a/eng/scripts/Language-Settings.ps1 b/eng/scripts/Language-Settings.ps1 index 20a6cdcdf401..c1ac17f0d108 100644 --- a/eng/scripts/Language-Settings.ps1 +++ b/eng/scripts/Language-Settings.ps1 @@ -3,7 +3,6 @@ $LanguageDisplayName = "Python" $PackageRepository = "PyPI" $packagePattern = "*.tar.gz" $MetadataUri = "https://raw.githubusercontent.com/Azure/azure-sdk/main/_data/releases/latest/python-packages.csv" -$BlobStorageUrl = "https://azuresdkdocs.blob.core.windows.net/%24web?restype=container&comp=list&prefix=python%2F&delimiter=%2F" $GithubUri = "https://github.com/Azure/azure-sdk-for-python" $PackageRepositoryUri = "https://pypi.org/project" @@ -170,7 +169,12 @@ function Get-python-GithubIoDocIndex() # Fetch out all package metadata from csv file. $metadata = Get-CSVMetadata -MetadataUri $MetadataUri # Get the artifacts name from blob storage - $artifacts = Get-BlobStorage-Artifacts -blobStorageUrl $BlobStorageUrl -blobDirectoryRegex "^python/(.*)/$" -blobArtifactsReplacement '$1' + $artifacts = Get-BlobStorage-Artifacts ` + -blobDirectoryRegex "^python/(.*)/$" ` + -blobArtifactsReplacement '$1' ` + -storageAccountName 'azuresdkdocs' ` + -storageContainerName '$web' ` + -storagePrefix 'python/' # Build up the artifact to service name mapping for GithubIo toc. $tocContent = Get-TocMapping -metadata $metadata -artifacts $artifacts # Generate yml/md toc files and build site.