Skip to content

Commit

Permalink
Add documentation home page
Browse files Browse the repository at this point in the history
  • Loading branch information
MathieuBuisson committed May 1, 2017
1 parent 6226eaa commit a558bf2
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 2 deletions.
1 change: 1 addition & 0 deletions PSCodeHealth.build.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@ Task Build_Documentation {
$PlatyPSSettings = $Settings.PlatyPSParams
New-MarkdownHelp @PlatyPSSettings | Foreach-Object {
$Part = ' - {0}: Functions/{1}' -f $_.BaseName, $_.Name
"Created markdown help file : $_.FullName"
$HeaderContent += "{0}`n" -f $Part
}
$HeaderContent | Set-Content -Path $Settings.MkdocsPath -Force
Expand Down
10 changes: 8 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
# PSCodeHealth &nbsp; &nbsp; &nbsp;<img src= "https://github.com/MathieuBuisson/PSCodeHealth/raw/master/PSCodeHealth/Assets/PSCodeHealthLogo.png" alt="PSCodeHealth Logo" width="70" align="center"/>


PowerShell module gathering PowerShell code quality and maintainability metrics.
[![Build status](https://ci.appveyor.com/api/projects/status/7lns5hedci8hfjm3/branch/master?svg=true)](https://ci.appveyor.com/project/MathieuBuisson/pscodehealth/branch/master) [![Coverage Status](https://coveralls.io/repos/github/MathieuBuisson/PSCodeHealth/badge.svg?branch=master)](https://coveralls.io/github/MathieuBuisson/PSCodeHealth?branch=master) [![Documentation Status](https://readthedocs.org/projects/pscodehealth/badge/?version=latest)](http://pscodehealth.readthedocs.io/en/latest/?badge=latest)

[![Build status](https://ci.appveyor.com/api/projects/status/7lns5hedci8hfjm3/branch/master?svg=true)](https://ci.appveyor.com/project/MathieuBuisson/pscodehealth/branch/master) [![Coverage Status](https://coveralls.io/repos/github/MathieuBuisson/PSCodeHealth/badge.svg?branch=master)](https://coveralls.io/github/MathieuBuisson/PSCodeHealth?branch=master)
PowerShell module which generates (and reports on) quality and maintainability metrics for PowerShell code contained in scripts, modules or directories.
These metrics relate to :
- Length of functions
- Complexity of functions
- Code smells, styling issues and violations of best practices (using PSScriptAnalyzer)
- Tests and test coverage (using Pester to run tests)
- Comment-based help in functions
9 changes: 9 additions & 0 deletions docs/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# PSCodeHealth

This is a PowerShell module which generates (and reports on) quality and maintainability metrics for PowerShell code contained in scripts, modules or directories.
These metrics relate to :
- Length of functions
- Complexity of functions
- Code smells, styling issues and violations of best practices (using PSScriptAnalyzer)
- Tests and test coverage (using Pester to run tests)
- Comment-based help in functions

0 comments on commit a558bf2

Please sign in to comment.