From b03c3ae233a8a3c5441d657e10a409fdadf85908 Mon Sep 17 00:00:00 2001 From: poetic android Date: Sun, 19 Apr 2020 22:15:14 +0200 Subject: [PATCH] `api.md` moved into the docs folder --- build_api_doc.sh | 10 +++++----- source/machine.d | 2 +- api.md => system_drive/docs/core/overview.md | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) rename api.md => system_drive/docs/core/overview.md (97%) diff --git a/build_api_doc.sh b/build_api_doc.sh index 5605f08..aa3860f 100644 --- a/build_api_doc.sh +++ b/build_api_doc.sh @@ -1,11 +1,11 @@ #!/bin/bash - -echo '# Lua API overview' > api.md -echo '[See docs for details.](https://github.com/poeticAndroid/homegirl/tree/master/system_drive/docs/core/)' >> api.md +apidoc="system_drive/docs/core/overview.md" +echo '# Lua API overview' > $apidoc +echo '[See docs for details.](./)' >> $apidoc for pack in ./source/lua_api/*.d; do - echo "## " $(basename $pack .d) >> api.md + echo "## " $(basename $pack .d) >> $apidoc cat $pack | grep /// | while read _ line; do - echo " " $line >> api.md + echo " " $line >> $apidoc done done \ No newline at end of file diff --git a/source/machine.d b/source/machine.d index 5244188..6062154 100644 --- a/source/machine.d +++ b/source/machine.d @@ -26,7 +26,7 @@ import pixmap; import image_loader; import network; -const VERSION = "1.5.2"; /// version of the software +const VERSION = "1.5.3"; /// version of the software /** Class representing "the machine"! diff --git a/api.md b/system_drive/docs/core/overview.md similarity index 97% rename from api.md rename to system_drive/docs/core/overview.md index e051caf..0063ef1 100644 --- a/api.md +++ b/system_drive/docs/core/overview.md @@ -1,5 +1,5 @@ # Lua API overview -[See docs for details.](https://github.com/poeticAndroid/homegirl/tree/master/system_drive/docs/core/) +[See docs for details.](./) ## _basic_ dofile(filename): result loadfile(filename): function