Skip to content

Commit

Permalink
Fixed Github IO to use .NET display name (#18623)
Browse files Browse the repository at this point in the history
  • Loading branch information
sima-zhu authored Feb 10, 2021
1 parent 603af46 commit dcee08d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions eng/scripts/Language-Settings.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -156,15 +156,15 @@ function Publish-dotnet-GithubIODocs ($DocLocation, $PublicArtifactLocation)
function Get-dotnet-GithubIoDocIndex()
{
# Update the main.js and docfx.json language content
UpdateDocIndexFiles -appTitleLang ".NET"
UpdateDocIndexFiles -appTitleLang $LanguageDisplayName
# Fetch out all package metadata from csv file.
$metadata = Get-CSVMetadata -MetadataUri $MetadataUri
# Get the artifacts name from blob storage
$artifacts = Get-BlobStorage-Artifacts -blobStorageUrl $BlobStorageUrl -blobDirectoryRegex "^dotnet/(.*)/$" -blobArtifactsReplacement '$1'
# Build up the artifact to service name mapping for GithubIo toc.
$tocContent = Get-TocMapping -metadata $metadata -artifacts $artifacts
# Generate yml/md toc files and build site.
GenerateDocfxTocContent -tocContent $tocContent -lang "NET"
GenerateDocfxTocContent -tocContent $tocContent -lang $LanguageDisplayName
}

# details on CSV schema can be found here
Expand Down

0 comments on commit dcee08d

Please sign in to comment.