Skip to content

Commit

Permalink
api.md moved into the docs folder
Browse files Browse the repository at this point in the history
  • Loading branch information
poeticAndroid committed Apr 19, 2020
1 parent f9dcb0f commit b03c3ae
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
10 changes: 5 additions & 5 deletions build_api_doc.sh
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion source/machine.d
Original file line number Diff line number Diff line change
Expand Up @@ -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"!
Expand Down
2 changes: 1 addition & 1 deletion api.md → system_drive/docs/core/overview.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit b03c3ae

Please sign in to comment.