Cleanup old markdown documenation approach (#979)

This commit is contained in:
Aleksandr Chebotov
2020-06-02 20:07:12 +03:00
committed by GitHub
parent 8c8f384a61
commit 43e26fa96b
72 changed files with 133 additions and 1541 deletions

View File

@@ -3,23 +3,12 @@
## Desc: Validate GitVersion
################################################################################
$command = Get-Command -Name 'gitversion'
if ($command)
if (Get-Command -Name 'gitversion')
{
Write-Host "gitversion on path"
Write-Host 'gitversion on path'
}
else
{
Write-Host 'gitversion is not on path'
exit 1
}
# Adding description of the software to Markdown
$SoftwareName = "GitVersion"
$version = $command.Version.ToString()
$Description = @"
_Version:_ $version<br/>
"@
Add-SoftwareDetailsToMarkdown -SoftwareName $SoftwareName -DescriptionMarkdown $Description