Skip to content

Commit 1580f5d

Browse files
authored
Use generated ToC (Azure#23816)
1 parent 88258cf commit 1580f5d

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

eng/pipelines/docindex.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,16 @@ jobs:
4848
arguments: -DocRepoLocation $(DocRepoLocation) -ImageId '$(DocValidationImageId)'
4949
displayName: Update Docs Onboarding
5050
condition: and(succeeded(), or(eq(variables['Build.Reason'], 'Schedule'), eq(variables['Force.MainUpdate'], 'true')))
51+
52+
- task: Powershell@2
53+
inputs:
54+
pwsh: true
55+
filePath: eng/common/scripts/Update-DocsMsToc.ps1
56+
arguments: >-
57+
-DocRepoLocation $(DocRepoLocation)
58+
-OutputLocation $(DocRepoLocation)/docs-ref-mapping/reference-unified.yml
59+
displayName: Generate ToC
60+
5161
# Push changes to docs repo
5262
- template: /eng/common/pipelines/templates/steps/set-default-branch.yml
5363
parameters:

0 commit comments

Comments
 (0)