Added information to include external library
[src/app-framework-main.git] / docs / 2.1-widgets.md
index 084ee98..abc33a4 100644 (file)
@@ -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