Use generated ToC
@@ -48,6 +48,16 @@ jobs:
arguments: -DocRepoLocation $(DocRepoLocation) -ImageId '$(DocValidationImageId)'
displayName: Update Docs Onboarding
condition: and(succeeded(), or(eq(variables['Build.Reason'], 'Schedule'), eq(variables['Force.MainUpdate'], 'true')))
+
+ - task: Powershell@2
+ inputs:
+ pwsh: true
+ filePath: eng/common/scripts/Update-DocsMsToc.ps1
+ arguments: >-
+ -DocRepoLocation $(DocRepoLocation)
+ -OutputLocation $(DocRepoLocation)/docs-ref-mapping/reference-unified.yml
+ displayName: Generate ToC
+
# Push changes to docs repo
- template: /eng/common/pipelines/templates/steps/set-default-branch.yml
parameters:
