Skip to content

Commit

Permalink
Add support for service names containing a forward slash (Azure#23628)
Browse files Browse the repository at this point in the history
Co-authored-by: Daniel Jurek <djurek@microsoft.com>
  • Loading branch information
azure-sdk and danieljurek authored Mar 23, 2022
1 parent e5063d1 commit b1c3284
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions eng/common/scripts/Update-DocsMsToc.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -207,8 +207,7 @@ foreach ($service in $serviceNameList) {
}
}

$serviceReadmeBaseName = $service.ToLower().Replace(' ', '-')

$serviceReadmeBaseName = $service.ToLower().Replace(' ', '-').Replace('/', '-')
$serviceTocEntry = [PSCustomObject]@{
name = $service;
href = "~/docs-ref-services/{moniker}/$serviceReadmeBaseName.md"
Expand Down

0 comments on commit b1c3284

Please sign in to comment.