diff --git a/eng/common/docgeneration/Generate-DocIndex.ps1 b/eng/common/docgeneration/Generate-DocIndex.ps1 index bfdae912e6b2..36194f50d5a1 100644 --- a/eng/common/docgeneration/Generate-DocIndex.ps1 +++ b/eng/common/docgeneration/Generate-DocIndex.ps1 @@ -165,7 +165,7 @@ function UpdateDocIndexFiles { $docfxContent = Get-Content -Path $DocfxJsonPath -Raw $docfxContent = $docfxContent -replace "`"_appTitle`": `"`"", "`"_appTitle`": `"Azure SDK for $appTitleLang`"" $docfxContent = $docfxContent -replace "`"_appFooter`": `"`"", "`"_appFooter`": `"Azure SDK for $appTitleLang`"" - Set-Content -Path $DocfxJsonPath -Value $docfxContent + Set-Content -Path $DocfxJsonPath -Value $docfxContent -NoNewline # Update main.js var lang $mainJsContent = Get-Content -Path $MainJsPath -Raw $mainJsContent = $mainJsContent -replace "var SELECTED_LANGUAGE = ''", "var SELECTED_LANGUAGE = '$lang'" diff --git a/eng/common/docgeneration/docfx.json b/eng/common/docgeneration/docfx.json index 6b113dafd3c0..837478ef9aac 100644 --- a/eng/common/docgeneration/docfx.json +++ b/eng/common/docgeneration/docfx.json @@ -70,9 +70,3 @@ } } } - - - - - - diff --git a/eng/common/docgeneration/templates/matthews/styles/main.js b/eng/common/docgeneration/templates/matthews/styles/main.js index 39fb2c34c649..346a94dad733 100644 --- a/eng/common/docgeneration/templates/matthews/styles/main.js +++ b/eng/common/docgeneration/templates/matthews/styles/main.js @@ -162,8 +162,12 @@ function populateIndexList(selector, packageName) { httpGetLatestAsync(latestPreviewUrl, latestVersions, packageName) var publishedVersions = $('
') var collapsible = $('