davemds pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=34c75a29f6ac5a4cbb669e5b3b74f1ddb6ae8423
commit 34c75a29f6ac5a4cbb669e5b3b74f1ddb6ae8423 Author: davemds <d...@gurumeditation.it> Date: Fri Aug 8 02:30:18 2014 +0200 Edcref: and finally apply a cool style Now the edc ref is decently readable --- doc/Doxyfile.in | 5 +++-- doc/e.css | 47 ++++++++++++++++++++++++++++++++++++++--- src/bin/edje/edje_cc_handlers.c | 12 ++++++++++- 3 files changed, 58 insertions(+), 6 deletions(-) diff --git a/doc/Doxyfile.in b/doc/Doxyfile.in index a1b2c0c..f18cc4f 100644 --- a/doc/Doxyfile.in +++ b/doc/Doxyfile.in @@ -1709,15 +1709,16 @@ GENERATE_LEGEND = YES DOT_CLEANUP = YES # Aliases used by edcref + ALIASES = block="<tr><td class=\"block\"><b>" ALIASES += context="</b></td><td class=\"context\" colspan=2>\code" ALIASES += description="\endcode</td></tr><tr><td> </td><td class=\"description\" colspan=2>" ALIASES += endblock="</td></tr>" -ALIASES += property="<tr><td> </td><td><table class=\"edcref\" border=\"0\"><tr><td class=\"property\"><tt>" +ALIASES += property="<tr><td> </td><td><table class=\"edcref_prop\" border=\"0\"><tr><td class=\"property\"><tt>" ALIASES += parameters="</tt></td><td class=\"parameters\"><tt>" ALIASES += effect="</tt></td></tr><tr><td> </td><td class=\"effect\">" ALIASES += endproperty="</td></tr></table></td></tr>" -ALIASES += edcsection{2}="<tr class=\"section\"><td class=\"section\" colspan=\"2\">\anchor sec_\1 \ref sec_quickaccess \"\2\"</td></tr>" +ALIASES += edcsection{2}="</table><table class=\"edcref\"><tr class=\"section\"><td class=\"section\" colspan=\"2\">\anchor sec_\1 \ref sec_quickaccess \"\2\"</td></tr>" ALIASES += edcsubsection{2}="<tr class=\"subsection\"><td class=\"subsection\" colspan=\"2\">\anchor sec_\1 \ref sec_quickaccess \"\2\"</td></tr>" # Aliases used by luaref diff --git a/doc/e.css b/doc/e.css index dd111c0..a34c7e7 100644 --- a/doc/e.css +++ b/doc/e.css @@ -954,16 +954,57 @@ dl.citelist dd { text-shadow: 0px 1px 0px #cccccc; } + /* EdcRef page specific styles */ +table.edcref { + border-collapse:collapse; + border: 1px solid #AAAAAA; + margin-bottom: 30px; +} + +table.edcref td.section a { + font-size: 2.0em; +} + +table.edcref td.subsection { + background-color: #EEEEEE; + border: 1px solid #AAAAAA; +} + +table.edcref td.subsection a { + font-size: 1.5em; +} + table.edcref td { vertical-align: top; } -table.edcref td.property, table.edcref td.parameters { - font-weight: bold; +table.edcref .fragment { + width: 90%; + padding-top: 10px; + padding-left: 3px; + margin-right: 100px; + border: 1px solid #AAAAAA; + margin-top: 10px; + margin-bottom: 10px; + background-color: #F6F6F6; } +table.edcref td.description { + padding-right: 95px; +} +table.edcref td.property, table.edcref td.parameters { + font-weight: bold; + background-color: #DDDDDD; + border-top: 1px solid #AAAAAA; + padding: 2px; +} - +table.edcref_prop { + width: 90%; + border-collapse:collapse; + border: 1px solid #AAAAAA; + box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15); +} diff --git a/src/bin/edje/edje_cc_handlers.c b/src/bin/edje/edje_cc_handlers.c index ea98da3..f48f800 100644 --- a/src/bin/edje/edje_cc_handlers.c +++ b/src/bin/edje/edje_cc_handlers.c @@ -13,6 +13,7 @@ code sample of the block \@description the block's description + \@since X.X \@endblock \@property @@ -21,6 +22,7 @@ property's parameter list \@effect the property description (lol) + \@since X.X \@endproperty */ @@ -758,6 +760,10 @@ New_Statement_Handler statement_handlers[] = }; /** + @edcsection{lazedc,LazEDC} + */ + +/** @edcsubsection{lazedc,LazEDC} */ @@ -1492,7 +1498,7 @@ _edje_program_copy(Edje_Program *ep, Edje_Program *ep2) } @description The "externals" block is used to list each external module file that will be used in others - programs. + programs. @endblock @property @@ -2426,6 +2432,10 @@ st_styles_style_tag(void) */ /** + @edcsubsection{collections,Collections Blocks} + */ + +/** @page edcref @block collections --