summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRomain Forlot <romain.forlot@iot.bzh>2017-10-10 16:36:35 +0200
committerRomain Forlot <romain.forlot@iot.bzh>2017-10-10 16:38:19 +0200
commit67f9fa1121b6f9721143f85c1f7b8aa9a579e470 (patch)
tree7f6e66f5703609ff7e7d4b47a60367c1ea6cf99b
parentc41158288f76b4809d01f3ec5028d8be609bb613 (diff)
Added information to include external library
Describe default directories used by application framework inside the apps. Bug-AGL: SPEC-883 Change-Id: Iea0280197db6091b4963134f8b20b5dc10b9767b Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
-rw-r--r--docs/2.1-widgets.md10
1 files changed, 10 insertions, 0 deletions
diff --git a/docs/2.1-widgets.md b/docs/2.1-widgets.md
index 084ee98..abc33a4 100644
--- a/docs/2.1-widgets.md
+++ b/docs/2.1-widgets.md
@@ -76,6 +76,16 @@ wgtpkg-pack DIRECTORY -o file.wgt
## Writing a widget
+### App directory organization
+
+There are few directories that are by default used in the binder. At the root
+directory of the widget folder, here are the directories that could be used:
+
+- *lib* : default directory where lies external libraries needed for
+ the binding. Binding could be stored here too or in another directory of your
+ choice.
+- *htdocs* : root HTTP directory if binding has web UI.
+
### The steps for writing a widget
1. make your application