fixes path in scripts/generate-man-page-md.sh (#1075)

This commit is contained in:
Phil Miller 2022-01-21 19:51:16 -05:00 committed by GitHub
parent 02252e8e69
commit 7d2ddc1cde
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -3,10 +3,10 @@ set -e
# note that this reqires pandoc to be installed. # note that this reqires pandoc to be installed.
cat ./pkg/yqlib/doc/headers/Main.md > man.md cat ./pkg/yqlib/doc/operators/headers/Main.md > man.md
printf "\n# HOW IT WORKS\n" >> man.md printf "\n# HOW IT WORKS\n" >> man.md
tail -n +2 how-it-works.md >> man.md tail -n +2 how-it-works.md >> man.md
for f in ./pkg/yqlib/doc/*.md; do for f in ./pkg/yqlib/doc/*.md; do
cat "$f" >> man.md cat "$f" >> man.md
done done