From 67f9fa1121b6f9721143f85c1f7b8aa9a579e470 Mon Sep 17 00:00:00 2001 From: Romain Forlot Date: Tue, 10 Oct 2017 16:36:35 +0200 Subject: [PATCH] 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 --- docs/2.1-widgets.md | 10 ++++++++++ 1 file changed, 10 insertions(+) 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 -- 2.16.6