Skip to content

Commit 29ac915

Browse files
azure-sdksima-zhu
andauthored
Sort by service name first (Azure#17659)
Co-authored-by: sima-zhu <[email protected]>
1 parent 782fa4d commit 29ac915

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

eng/common/docgeneration/Generate-DocIndex.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ function GenerateDocfxTocContent([Hashtable]$tocContent, [String]$lang, [String]
126126
New-Item -Path $YmlPath -Name "toc.yml" -Force
127127
$visitedService = @{}
128128
# Sort and display toc service name by alphabetical order, and then sort artifact by order.
129-
$sortedToc = $tocContent.Values | Sort-Object NewIndex, TypeIndex, ServiceName, DisplayName, Artifact
129+
$sortedToc = $tocContent.Values | Sort-Object ServiceName, NewIndex, TypeIndex, DisplayName, Artifact
130130
foreach ($serviceMapping in $sortedToc) {
131131
$artifact = $serviceMapping.Artifact
132132
$serviceName = $serviceMapping.ServiceName

0 commit comments

Comments
 (0)