Skip to content

Commit

Permalink
doc: fix macro list
Browse files Browse the repository at this point in the history
  • Loading branch information
rsteube committed Dec 24, 2023
1 parent 78362cf commit 5497d87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/macros.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ scriptdir=$(dirname $(readlink -f $0))
echo "# Macros"
echo

$scriptdir/../cmd/carapace/carapace --macros \
$scriptdir/../cmd/carapace/carapace --macro \
| sed -r 's_(https://[^ ]+)_[\1](\1)_' \
| sed 's_^\([^ ]*\.\)\([^. ]\+\) \+\(.*\)_- [\1\2]\(https://pkg.go.dev/github.com/rsteube/carapace-bin/pkg/actions/\1#Action\2) \3_' \
| sed -e ':loop' -e 's_\(carapace-bin/pkg/actions/[^#]*\)[.]_\1/_' -e 't loop' \
Expand Down

0 comments on commit 5497d87

Please sign in to comment.