Skip to content

v1.0.4

Choose a tag to compare

@github-actions github-actions released this 06 Oct 11:43
· 17 commits to main since this release
ffe09c2

🪲 [Fix]: Fix so files are back to expected structure (#21)

Description

This pull request refactors the Build-PSModuleDocumentation.ps1 script to consistently use the $docsOutputFolder variable instead of $DocsOutputFolder or $moduleDocsFolder, and improves output formatting for command status messages. These changes help standardize variable usage and enhance script readability and maintainability.

Refactoring for variable consistency:

  • Replaced all instances of $DocsOutputFolder and $moduleDocsFolder with $docsOutputFolder throughout the script to ensure consistent variable usage for documentation output paths. [1] [2] [3]

Output and formatting improvements:

  • Updated status message output to use $PSStyle.Foreground.Green and $PSStyle.Foreground.Red for colored checkmarks and crosses, improving readability of command results.
  • Added a section to display all generated documentation files after creation, making it easier to verify output.

Minor improvements:

  • Disabled verbose output when importing the module with Import-Module by setting -Verbose:$false, reducing unnecessary log noise.