Skip to content

Commit

Permalink
Add support for service names containing a forward slash (Azure#27837)
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 07fbed1 commit 06775a2
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 06775a2

Please sign in to comment.