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,8 +3,7 @@
## Desc: Validate KubernetesCli.
################################################################################
if((Get-Command -Name 'kubectl'))
if (Get-Command -Name 'kubectl')
{
Write-Host "kubectl $(kubectl version --client=true --short=true) in path"
}
@@ -14,20 +13,7 @@ else
exit 1
}
# Adding description of the software to Markdown
$SoftwareName = "Kubectl"
$version = $(kubectl version --client=true --short=true)
$Description = @"
_Version:_ $version<br/>
_Environment:_
* PATH: contains location of kubectl.exe
"@
Add-SoftwareDetailsToMarkdown -SoftwareName $SoftwareName -DescriptionMarkdown $Description
if((Get-Command -Name 'minikube'))
if (Get-Command -Name 'minikube')
{
Write-Host "minikube $(minikube version --short) in path"
}
@@ -37,15 +23,3 @@ else
exit 1
}
# Adding description of the software to Markdown
$SoftwareName = "minikube"
$version = $(minikube version --short=true)
$Description = @"
_Version:_ $version<br/>
_Environment:_
* PATH: contains location of minikube.exe
"@
Add-SoftwareDetailsToMarkdown -SoftwareName $SoftwareName -DescriptionMarkdown $Description