Browse Source

feat: Alignment updated

Vaclav Elias 2 years ago
parent
commit
a5e98c35ed
1 changed files with 8 additions and 1 deletions
  1. 8 1
      BuildDocs.ps1

+ 8 - 1
BuildDocs.ps1

@@ -143,10 +143,15 @@ function Start-LocalWebsite {
     Write-Host -ForegroundColor Green "Running local website..."
     Write-Host -ForegroundColor Green "Running local website..."
     Write-Host -ForegroundColor Green "Navigate manually to non English website, if you didn't build English documentation."
     Write-Host -ForegroundColor Green "Navigate manually to non English website, if you didn't build English documentation."
     Stop-Transcript
     Stop-Transcript
+
     New-Item -ItemType Directory -Verbose -Force -Path $Settings.WebDirectory | Out-Null
     New-Item -ItemType Directory -Verbose -Force -Path $Settings.WebDirectory | Out-Null
+
     Set-Location $Settings.WebDirectory
     Set-Location $Settings.WebDirectory
+
     Start-Process -FilePath $Settings.LocalTestHostUrl
     Start-Process -FilePath $Settings.LocalTestHostUrl
+
     docfx serve
     docfx serve
+
     Set-Location ..
     Set-Location ..
 }
 }
 
 
@@ -476,8 +481,10 @@ else {
 if ($ReuseAPI)
 if ($ReuseAPI)
 {
 {
     Write-Host -ForegroundColor Green "Generating API documentation from existing mete data..."
     Write-Host -ForegroundColor Green "Generating API documentation from existing mete data..."
-} elseif ($API) {
+} elseif ($API)
+{
     $exitCode = Generate-APIDoc
     $exitCode = Generate-APIDoc
+
     if($exitCode -ne 0)
     if($exitCode -ne 0)
     {
     {
         Write-Error "Failed to generate API metadata. ExitCode: $exitCode"
         Write-Error "Failed to generate API metadata. ExitCode: $exitCode"