Skip to content

Commit c06ca71

Browse files
authored
Remove * to prevent APIs go to wrong categories (Azure#28045)
1 parent 2ef747f commit c06ca71

File tree

3 files changed

+12
-10
lines changed

3 files changed

+12
-10
lines changed

eng/pipelines/docindex.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -38,15 +38,15 @@ jobs:
3838
arguments: -DocRepoLocation $(DocRepoLocation) -ImageId '$(DocValidationImageId)'
3939
displayName: Update Docs Onboarding
4040
condition: and(succeeded(), or(eq(variables['Build.Reason'], 'Schedule'), eq(variables['Force.MainUpdate'], 'true')))
41-
- task: Powershell@2
42-
inputs:
43-
pwsh: true
44-
filePath: eng/common/scripts/Update-DocsMsToc.ps1
45-
arguments: >-
46-
-DocRepoLocation $(DocRepoLocation)
47-
-OutputLocation $(DocRepoLocation)/docs-ref-mapping/reference-unified.yml
48-
displayName: Generate ToC for main branch
49-
condition: and(succeeded(), or(eq(variables['Build.Reason'], 'Schedule'), eq(variables['Force.MainUpdate'], 'true')))
41+
# - task: Powershell@2
42+
# inputs:
43+
# pwsh: true
44+
# filePath: eng/common/scripts/Update-DocsMsToc.ps1
45+
# arguments: >-
46+
# -DocRepoLocation $(DocRepoLocation)
47+
# -OutputLocation $(DocRepoLocation)/docs-ref-mapping/reference-unified.yml
48+
# displayName: Generate ToC for main branch
49+
# condition: and(succeeded(), or(eq(variables['Build.Reason'], 'Schedule'), eq(variables['Force.MainUpdate'], 'true')))
5050
# Push changes to docs repo
5151
- template: /eng/common/pipelines/templates/steps/set-default-branch.yml
5252
parameters:

eng/scripts/Language-Settings.ps1

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -265,6 +265,7 @@ function Update-java-CIConfig($pkgs, $ciRepo, $locationInDocRepo, $monikerId=$nu
265265

266266
$PackageExclusions = @{
267267
"azure-core-experimental" = "Don't want to include an experimental package.";
268+
"azure-core-test" = "Don't want to include the test framework package.";
268269
"azure-sdk-bom" = "Don't want to include the sdk bom.";
269270
"azure-storage-internal-avro" = "No external APIs.";
270271
"azure-cosmos-spark_3-1_2-12" = "Javadoc dependency issue.";

eng/scripts/docs/Docs-ToC.ps1

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ function Get-Toc-Children($package, $groupId, $version, $docRepoLocation, $folde
104104
# Log and warn
105105
Write-Host "Not able to find namespaces from javadoc jar $package-$version-javadoc.jar"
106106
}
107-
return (Get-Content $filePath | ForEach-Object {$_.Trim() + "*"})
107+
return (Get-Content $filePath | ForEach-Object {$_.Trim()})
108108
}
109109

110110
function Fetch-Namespaces-From-Javadoc ($jarFilePath, $destination) {
@@ -159,6 +159,7 @@ function Get-java-UpdatedDocsMsToc($toc) {
159159
# Add services exsting in old toc but missing in automation.
160160
$otherService = $services[-1]
161161
$sortableServices = $services | Where-Object { $_ –ne $otherService }
162+
162163
$sortableServices += [PSCustomObject]@{
163164
name = "Active Directory"
164165
href = "~/docs-ref-services/{moniker}/resourcemanager-msi-readme.md"

0 commit comments

Comments
 (0)