@@ -62,6 +62,7 @@ $DocOutApiDir = "${DocOutDir}/api"
6262$DocOutHtmlDir = " ${DocOutDir} /_site"
6363$MDocTool = " ${BinDirectory} /mdoc/mdoc.exe"
6464$DocFxTool = " ${BinDirectory} /docfx/docfx.exe"
65+ $DocCommonGenDir = " $RepoRoot /eng/common/docgeneration"
6566
6667if ($LibType -eq ' management' ) {
6768 $ArtifactName = $ArtifactName.Substring ($ArtifactName.LastIndexOf (' .Management' ) + 1 )
@@ -128,7 +129,7 @@ Write-Verbose "Copy over generated yml and other assets"
128129Copy-Item " ${YamlOutDir} /*" - Destination " ${DocOutApiDir} " - Recurse - Force
129130Copy-Item " ${DocGenDir} /assets/docfx.json" - Destination " ${DocOutDir} " - Recurse - Force
130131New-Item - Path " ${DocOutDir} " - Name templates - ItemType directory
131- Copy-Item " ${DocGenDir } /templates/**" - Destination " ${DocOutDir} /templates" - Recurse - Force
132+ Copy-Item " ${DocCommonGenDir } /templates/**" - Destination " ${DocOutDir} /templates" - Recurse - Force
132133
133134Write-Verbose " Create Toc for Site Navigation"
134135New-Item " ${DocOutDir} /toc.yml" - Force
@@ -138,7 +139,7 @@ Write-Verbose "Build Doc Content"
138139& " ${DocFxTool} " build " ${DocOutDir} /docfx.json"
139140
140141Write-Verbose " Copy over site Logo"
141- Copy-Item " ${DocGenDir } /assets/logo.svg" - Destination " ${DocOutHtmlDir} " - Recurse - Force
142+ Copy-Item " ${DocCommonGenDir } /assets/logo.svg" - Destination " ${DocOutHtmlDir} " - Recurse - Force
142143
143144Write-Verbose " Compress and copy HTML into the staging Area"
144145Compress-Archive - Path " ${DocOutHtmlDir} /*" - DestinationPath " ${ArtifactStagingDirectory} /${ArtifactName} /${ArtifactName} .docs.zip" - CompressionLevel Fastest
0 commit comments