@@ -8,7 +8,7 @@ Push-Location $sitePath
88$PSJekyll.CurrentSite.Domain = " psjekyll.powershellweb.com"
99$PSJekyll.CurrentSite.Data = @ {LastDateBuilt = [datetime ]::UtcNow.Date.ToString(' yyyy-MM-dd' )}
1010$PSJekyll.CurrentSite.Data = @ {
11- PSModuleInfo = $sourceModule |
11+ " PSModule/Info " = $sourceModule |
1212 Select-Object - Property Name,
1313 Version,
1414 Description,
@@ -19,7 +19,7 @@ $PSJekyll.CurrentSite.Data = @{
1919 Name = ' Tags'
2020 Expression = { @ ($_.PrivateData.PSData.Tags | Select-Object - Unique)}
2121 }
22- PSModuleExports = @ (
22+ " PSModule/Exports " = @ (
2323 foreach ($command in $sourceModule.ExportedCommands.Values ) {
2424 [Ordered ]@ {
2525 Name = $command.Name
@@ -44,11 +44,11 @@ $PSJekyll.CurrentSite.Data = @{
4444 }
4545 )
4646
47- PSModuleFunctionNames = $sourceModule.ExportedFunctions.Keys
48- PSModuleCmdletNames = $sourceModule.ExportedCmdlets.Keys
49- PSModuleAliasNames = $sourceModule.ExportedAliases.Keys
50- PSModuleVariableNames = $sourceModule.ExportedVariables.Keys
51- PSModuleExportTypeNames = $sourceModule.ExportedTypeFiles |
47+ " PSModule/FunctionNames " = $sourceModule.ExportedFunctions.Keys
48+ " PSModule/CmdletNames " = $sourceModule.ExportedCmdlets.Keys
49+ " PSModule/AliasNames " = $sourceModule.ExportedAliases.Keys
50+ " PSModule/VariableNames " = $sourceModule.ExportedVariables.Keys
51+ " PSModule/TypeNames " = $sourceModule.ExportedTypeFiles |
5252 ForEach-Object { (Select-Xml - XPath // Types/ Type - Path $_ ).Node.Name }
5353}
5454$PSJekyll.CurrentSite.Data
0 commit comments