mirror of
https://github.com/mikefarah/yq.git
synced 2024-11-12 13:48:06 +00:00
17 lines
339 B
Bash
Executable File
17 lines
339 B
Bash
Executable File
#! /bin/bash
|
|
set -e
|
|
|
|
# note that this reqires pandoc to be installed.
|
|
|
|
cat ./pkg/yqlib/doc/operators/headers/Main.md > man.md
|
|
printf "\n# HOW IT WORKS\n" >> man.md
|
|
tail -n +2 how-it-works.md >> man.md
|
|
|
|
for f in ./pkg/yqlib/doc/operators/*.md; do
|
|
cat "$f" >> man.md
|
|
done
|
|
|
|
for f in ./pkg/yqlib/doc/usage/*.md; do
|
|
cat "$f" >> man.md
|
|
done
|