Skip to content

Commit

Permalink
(doc) add exit codes to gen doc headings
Browse files Browse the repository at this point in the history
  • Loading branch information
ferventcoder committed Mar 15, 2019
1 parent 9d2c42a commit 096fc37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion GenerateDocs.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ param(
return
}
$commandText = $commandText -creplace '^(.+)(\s+Command\s*)$', "# `$1`$2 (choco $commandName)"
$commandText = $commandText -replace '^(Usage|Troubleshooting|Examples|Connecting to Chocolatey.org|See It In Action|Alternative Sources|Resources|Packages.config)', '## $1'
$commandText = $commandText -creplace '^(Usage|Troubleshooting|Examples|Exit Codes|Connecting to Chocolatey.org|See It In Action|Alternative Sources|Resources|Packages.config|Scripting \/ Integration - Best Practices \/ Style Guide)', '## $1'
$commandText = $commandText -replace '^(Commands|How To Pass Options)', '## $1'
$commandText = $commandText -replace '^(WebPI|Windows Features|Ruby|Cygwin|Python)\s*$', '### $1'
$commandText = $commandText -replace 'NOTE\:', '**NOTE:**'
Expand Down

0 comments on commit 096fc37

Please sign in to comment.