Skip to content
/ psDoc Public
forked from ChaseFlorell/psDoc

Powershell Help Document Generator

License

Notifications You must be signed in to change notification settings

stehlih/psDoc

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

psDoc is a Powershell Help Document generator.


Using psDoc

To generate documentation off of your module, simply import your module

Import-Module MySpecialModule

And generate the documentation

.\psDoc.ps1 -moduleName MySpecialModule

Or copy the repository as Powershell module into C:\Users\<your_user>\Documents\WindowsPowerShell\Modules\psDoc or C:\Program Files\WindowsPowerShell\Modules\psDoc and generate the docmentation

New-PSDoc -moduleName MySpecialModule -verbose
@("MySpecialModule", "MyOtherModule") | New-PSDoc -outputDir "help" -outputFormat "asciidoc"

To publish the module as a NuGet package open a Powershell window as adminstrator and run the following command from repository directory:

Publish-Module -Path . -NuGetApiKey "f896299d-98af-47ad-9be9-0cd1a8a8d213" -Repository <YourRepositoryName> -Verbose

The nupkg file will be stored in the repository folder of <YourRepositoryName>.

License

Microsoft Public License (Ms-PL)

About

Powershell Help Document Generator

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PowerShell 100.0%