allow running the docgen script from any directory

pull/68/head
Timothée Sterle 3 years ago
parent e549b0d10f
commit 21be94a7e1
No known key found for this signature in database
GPG Key ID: 136D558122196ED5

@ -1,3 +1,5 @@
#!/usr/bin/env sh
./to_vimdoc.sed ../README.md | fmt -s | ./sections_tags.awk > ../doc/nvim-lua-guide.txt
SCRIPT_ROOT="$(dirname "$0")"
"$SCRIPT_ROOT"/to_vimdoc.sed "$SCRIPT_ROOT"/../README.md | fmt -s | "$SCRIPT_ROOT"/sections_tags.awk > "$SCRIPT_ROOT"/../doc/nvim-lua-guide.txt

Loading…
Cancel
Save