Browse Source

fix: ReleaseNotes.md and robots.txt included

Vaclav Elias 2 years ago
parent
commit
5bf74e72da
1 changed files with 4 additions and 2 deletions
  1. 4 2
      BuildDocs.ps1

+ 4 - 2
BuildDocs.ps1

@@ -114,8 +114,10 @@ function Copy-ExtraItems {
     Write-Host -ForegroundColor Green "Updating web.config completed."
     Write-Host ""
 
-    # Do we need this?
-    # Copy-Item en/ReleaseNotes/ReleaseNotes.md "$($Settings.SiteDirectory)/en/ReleaseNotes/"
+    # This is needed for Stride Launcher, which loads Release Notes
+    Copy-Item en/ReleaseNotes/ReleaseNotes.md "$($Settings.SiteDirectory)/en/ReleaseNotes/"
+
+    Copy-Item robots.txt "$($Settings.WebDirectory)/"
 }
 
 function Start-LocalWebsite {