File tree Expand file tree Collapse file tree 1 file changed +0
-15
lines changed Expand file tree Collapse file tree 1 file changed +0
-15
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments