diff --git a/Tools/postbuild_mremoteng.ps1 b/Tools/postbuild_mremoteng.ps1 index 17301617..4bf68522 100644 --- a/Tools/postbuild_mremoteng.ps1 +++ b/Tools/postbuild_mremoteng.ps1 @@ -42,7 +42,6 @@ Format-Table -AutoSize -Wrap -InputObject @{ & "$PSScriptRoot\copy_puttyng.ps1" -SolutionDir $SolutionDir -TargetDir $TargetDir & "$PSScriptRoot\copy_themes.ps1" -SolutionDir $SolutionDir -TargetDir $TargetDir & "$PSScriptRoot\copy_tiles.ps1" -SolutionDir $SolutionDir -TargetDir $TargetDir -& "$PSScriptRoot\sphinx_docs.ps1" -SolutionDir $SolutionDir -TargetDir $TargetDir & "$PSScriptRoot\set_LargeAddressAware.ps1" -TargetDir $TargetDir -TargetFileName $TargetFileName & "$PSScriptRoot\verify_LargeAddressAware.ps1" -TargetDir $TargetDir -TargetFileName $TargetFileName & "$PSScriptRoot\tidy_files_for_release.ps1" -TargetDir $TargetDir -ConfigurationName $ConfigurationName diff --git a/Tools/sphinx_docs.ps1 b/Tools/sphinx_docs.ps1 deleted file mode 100644 index 8ba3e20c..00000000 --- a/Tools/sphinx_docs.ps1 +++ /dev/null @@ -1,33 +0,0 @@ -param ( - [string] - [Parameter(Mandatory=$true)] - $SolutionDir, - - [string] - [Parameter(Mandatory=$true)] - $TargetDir -) - -Write-Output "===== Beginning $($PSCmdlet.MyInvocation.MyCommand) =====" - -Write-Output "Building HTML-Documentation with Sphinx" - -$path_HelpFilesDir = Join-Path -Path $TargetDir -ChildPath "Help" -$path_SphinxSourceDir = Join-Path -Path $SolutionDir -ChildPath "mRemoteNG\Documentation" - -# Remove stale Help files, if they exist -if (Test-Path -Path $path_HelpFilesDir) { - Remove-Item -Path $path_HelpFilesDir -Recurse -Force -} - -# Build docs -sphinx-build $path_SphinxSourceDir $path_HelpFilesDir - -# Place dummy html file if build failed -if (-Not (Test-Path $path_HelpFilesDir\index.html -PathType Leaf)) { - New-Item -Path $path_HelpFilesDir -ItemType "directory" - New-Item $path_HelpFilesDir\index.html - Set-Content $path_HelpFilesDir\index.html 'Welcome to mRemoteNG!' -} - -Write-Output "" \ No newline at end of file