Skip to content

Commit 79d2f04

Browse files
authored
Remove functions service exceptions from ToC automation (Azure#39268)
1 parent 487020b commit 79d2f04

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

eng/scripts/docs/Docs-ToC.ps1

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -260,21 +260,6 @@ function Get-python-UpdatedDocsMsToc($toc) {
260260
}
261261
}
262262

263-
$functionService = [PSCustomObject]@{
264-
name = 'Functions';
265-
landingPageType = 'Service';
266-
children = @('azure.functions', 'azure.durable_functions')
267-
}
268-
269-
# Add new services which are not onboarded in obvious ways in the CI config.
270-
# This is done by creating a list of services excluding the ultimate item
271-
# (i.e. the "Other" service), then appending the new services
272-
# (e.g. "Functions"), sorting the resulting list, then re-adding the ultimate
273-
# item to the end. This ensures that the "Other" service is at the bottom as
274-
# intended.
275-
$sortableServices = $services[0..($services.Length - 2)] + $functionService
276-
$toc[0].items = ($sortableServices | Sort-Object -Property name) + $services[-1]
277-
278263
# PowerShell outputs a single object if the output is an array with only one
279264
# object. The preceeding comma ensures that the output remains an array for
280265
# appropriate export formatting. Other formatting (e.g. `@($toc)`) does not

0 commit comments

Comments
 (0)