Skip to content

Commit

Permalink
docs
Browse files Browse the repository at this point in the history
  • Loading branch information
majkinetor committed Sep 21, 2017
1 parent 0667c76 commit 1ecf709
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ function global:au_AfterUpdate ($Package) {
To extract descriptions from existing packages into README.md files the following script can be used:

```powershell
ls | ? PSIsContainer | ? { !(Test-Path $_\README.md) | % {
ls | ? PSIsContainer | ? { !(Test-Path $_\README.md) } | % {
[xml] $package = gc $_\*.nuspec
$meta = $package.package.metadata
$readme = ('# <img src="{1}" width="48" height="48"/> [{0}](https://chocolatey.org/packages/{0})' -f $meta.id, $meta.iconUrl), ''
Expand Down

0 comments on commit 1ecf709

Please sign in to comment.