From dbd7badb2f2ec6213bca684b705c41d1fbe70a90 Mon Sep 17 00:00:00 2001 From: Davide Andreoli Date: Sun, 7 Mar 2010 18:05:12 +0000 Subject: [PATCH] * Add a doxy page for LUA scripting in edje documentation, not complete yet, but a good structure SVN revision: 46954 --- legacy/edje/doc/Doxyfile | 11 +- legacy/edje/doc/e.css | 7 +- legacy/edje/doc/head.html | 3 +- legacy/edje/src/lib/edje_lua.c | 259 ++++++++++++++++++++++++++++++++- 4 files changed, 269 insertions(+), 11 deletions(-) diff --git a/legacy/edje/doc/Doxyfile b/legacy/edje/doc/Doxyfile index 77c1a671c6..c9c7dd6c4a 100644 --- a/legacy/edje/doc/Doxyfile +++ b/legacy/edje/doc/Doxyfile @@ -179,6 +179,7 @@ TAB_SIZE = 8 # will result in a user-defined paragraph with heading "Side Effects:". # You can put \n's in the value part of an alias to insert newlines. +# Aliases used by edcref ALIASES = block="" ALIASES += context="\code" ALIASES += description="\endcode " @@ -189,6 +190,14 @@ ALIASES += effect=" " ALIASES += edcsection{2}="\anchor sec_\1 \ref sec_quickaccess \"\2\"" +# Aliases used by luaref +ALIASES += luaclass{2}="\anchor \1 \n
\2
" +ALIASES += attributes="
Attributes:
" +ALIASES += methods="
Methods:
" +ALIASES += setters="
Setters:
" +ALIASES += seealso{2}="See also: \1\n" +ALIASES += seealso{1}="See also: \1\n" + # Set the OPTIMIZE_OUTPUT_FOR_C tag to YES if your project consists of C # sources only. Doxygen will then generate output that is more tailored for C. # For instance, some of the names that are used will be different. The list @@ -633,7 +642,7 @@ EXCLUDE_SYMBOLS = # directories that contain example code fragments that are included (see # the \include command). -EXAMPLE_PATH = +EXAMPLE_PATH = examples/ # If the value of the EXAMPLE_PATH tag contains directories, you can use the # EXAMPLE_PATTERNS tag to specify one or more wildcard pattern (like *.cpp diff --git a/legacy/edje/doc/e.css b/legacy/edje/doc/e.css index d703d7c66c..44a9f254db 100644 --- a/legacy/edje/doc/e.css +++ b/legacy/edje/doc/e.css @@ -276,7 +276,7 @@ table.edcref tr td.block { padding-top: 10px; } -table.edcref tr.section td.section { +table.edcref tr.section td.section, div.luaclass { color: #888; font-size: 16pt; padding: 15px; @@ -288,3 +288,8 @@ table.edcref tr.section td.section a { color: #888; text-decoration: none; } + +div.luaattrib { + color: #888; + border: 1px solid #ccc; +} diff --git a/legacy/edje/doc/head.html b/legacy/edje/doc/head.html index 33a100f066..617c01bea9 100644 --- a/legacy/edje/doc/head.html +++ b/legacy/edje/doc/head.html @@ -51,8 +51,9 @@