Skip to content

Commit

Permalink
Commentary
Browse files Browse the repository at this point in the history
  • Loading branch information
danieljurek committed Nov 15, 2024
1 parent 1877dc8 commit 09fb2e6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions eng/scripts/docs/Docs-ToC.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -139,11 +139,14 @@ function Get-javascript-UpdatedDocsMsToc($toc) {
}

if ($services[$i].name -eq 'Cognitive Services') {
# Add OpenAI to the ToC for Cognitive Services
$services[$i].items += [PSCustomObject]@{
name = "OpenAI";
href = "~/docs-ref-services/{moniker}/openai-readme.md";
}

# Sort the items in the Cognitive Services ToC so OpenAI ends up in the
# correct place
$services[$i].items = $services[$i].items | Sort-Object -Property name
}
}
Expand Down

0 comments on commit 09fb2e6

Please sign in to comment.