Add update docs scripts, updated docs

This commit is contained in:
Insality
2020-10-12 00:45:42 +03:00
parent cebba9a1a3
commit 22f947859a
26 changed files with 58 additions and 43 deletions

15
update_docs.sh Executable file
View File

@@ -0,0 +1,15 @@
#!/bin/bash
## I am using Ldoc and my own Ldoc -> emmylua generator:
## https://github.com/Insality/emmylua-from-ldoc-annotations
emmylua_generator_path=~/code/lua/emmylua-from-ldoc-annotations
echo "Update Ldoc"
ldoc .
echo ""
echo "Update EmmyLua annotations"
original_path=$(pwd)
bash $emmylua_generator_path/export.sh $original_path
mv $emmylua_generator_path/annotations.lua $original_path/annotations.lua