summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-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