diff --git a/docs/function-documentation/ConvertFrom-PropertylessJson.md b/docs/function-documentation/private/ConvertFrom-PropertylessJson.md similarity index 100% rename from docs/function-documentation/ConvertFrom-PropertylessJson.md rename to docs/function-documentation/private/ConvertFrom-PropertylessJson.md diff --git a/docs/function-documentation/Get-AddressCheck.md b/docs/function-documentation/private/Get-AddressCheck.md similarity index 100% rename from docs/function-documentation/Get-AddressCheck.md rename to docs/function-documentation/private/Get-AddressCheck.md diff --git a/docs/function-documentation/Get-HumanReadableSchedule.md b/docs/function-documentation/private/Get-HumanReadableSchedule.md similarity index 100% rename from docs/function-documentation/Get-HumanReadableSchedule.md rename to docs/function-documentation/private/Get-HumanReadableSchedule.md diff --git a/docs/function-documentation/Invoke-VerkadaCommandCall.md b/docs/function-documentation/private/Invoke-VerkadaCommandCall.md similarity index 100% rename from docs/function-documentation/Invoke-VerkadaCommandCall.md rename to docs/function-documentation/private/Invoke-VerkadaCommandCall.md diff --git a/docs/function-documentation/Invoke-VerkadaCommandInit.md b/docs/function-documentation/private/Invoke-VerkadaCommandInit.md similarity index 100% rename from docs/function-documentation/Invoke-VerkadaCommandInit.md rename to docs/function-documentation/private/Invoke-VerkadaCommandInit.md diff --git a/docs/function-documentation/Invoke-VerkadaFormCall.md b/docs/function-documentation/private/Invoke-VerkadaFormCall.md similarity index 100% rename from docs/function-documentation/Invoke-VerkadaFormCall.md rename to docs/function-documentation/private/Invoke-VerkadaFormCall.md diff --git a/docs/function-documentation/Invoke-VerkadaGraphqlCall.md b/docs/function-documentation/private/Invoke-VerkadaGraphqlCall.md similarity index 100% rename from docs/function-documentation/Invoke-VerkadaGraphqlCall.md rename to docs/function-documentation/private/Invoke-VerkadaGraphqlCall.md diff --git a/docs/function-documentation/Invoke-VerkadaRestMethod.md b/docs/function-documentation/private/Invoke-VerkadaRestMethod.md similarity index 100% rename from docs/function-documentation/Invoke-VerkadaRestMethod.md rename to docs/function-documentation/private/Invoke-VerkadaRestMethod.md diff --git a/docs/function-documentation/Merge-Objects.md b/docs/function-documentation/private/Merge-Objects.md similarity index 100% rename from docs/function-documentation/Merge-Objects.md rename to docs/function-documentation/private/Merge-Objects.md diff --git a/docs/function-documentation/New-WebSession.md b/docs/function-documentation/private/New-WebSession.md similarity index 100% rename from docs/function-documentation/New-WebSession.md rename to docs/function-documentation/private/New-WebSession.md diff --git a/maintenance/release.ps1 b/maintenance/release.ps1 index 5264fef..71a9e21 100644 --- a/maintenance/release.ps1 +++ b/maintenance/release.ps1 @@ -38,6 +38,15 @@ Get-ChildItem $mypath/$myMod/Public/ | ForEach-Object { } } +Get-ChildItem $mypath/$myMod/Private/ | ForEach-Object { + Get-ChildItem $_ | ForEach-Object { + if (!(Test-Path -Path "$mypath/docs/function-documentation/private/" -PathType Container)) { + New-Item -Path "$mypath/docs/function-documentation/private/" -ItemType Directory -Force + } + Move-Item -Path "$mypath/docs/function-documentation/$($_.BaseName).md" -Destination "$mypath/docs/function-documentation/private/" -Force + } +} + $manifest = Import-PowerShellDataFile "$mypath/$myMod/$myMod.psd1" [version]$version = $Manifest.ModuleVersion switch ($Args[0]) { diff --git a/maintenance/updateMod.ps1 b/maintenance/updateMod.ps1 index 5264fef..71a9e21 100644 --- a/maintenance/updateMod.ps1 +++ b/maintenance/updateMod.ps1 @@ -38,6 +38,15 @@ Get-ChildItem $mypath/$myMod/Public/ | ForEach-Object { } } +Get-ChildItem $mypath/$myMod/Private/ | ForEach-Object { + Get-ChildItem $_ | ForEach-Object { + if (!(Test-Path -Path "$mypath/docs/function-documentation/private/" -PathType Container)) { + New-Item -Path "$mypath/docs/function-documentation/private/" -ItemType Directory -Force + } + Move-Item -Path "$mypath/docs/function-documentation/$($_.BaseName).md" -Destination "$mypath/docs/function-documentation/private/" -Force + } +} + $manifest = Import-PowerShellDataFile "$mypath/$myMod/$myMod.psd1" [version]$version = $Manifest.ModuleVersion switch ($Args[0]) { diff --git a/verkadaModule/verkadaModule.psd1 b/verkadaModule/verkadaModule.psd1 index 8919f4f..c8a812c 100644 --- a/verkadaModule/verkadaModule.psd1 +++ b/verkadaModule/verkadaModule.psd1 @@ -12,7 +12,7 @@ RootModule = 'verkadaModule.psm1' # Version number of this module. -ModuleVersion = '0.10.2' +ModuleVersion = '0.10.3' # Supported PSEditions CompatiblePSEditions = 'Desktop', 'Core'