Edcref: and finally apply a cool style
authordavemds <dave@gurumeditation.it>
Fri, 8 Aug 2014 00:30:18 +0000 (02:30 +0200)
committerdavemds <dave@gurumeditation.it>
Fri, 8 Aug 2014 00:30:33 +0000 (02:30 +0200)
Now the edc ref is decently readable

doc/Doxyfile.in
doc/e.css
src/bin/edje/edje_cc_handlers.c

index a1b2c0c..f18cc4f 100644 (file)
@@ -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>&nbsp;</td><td class=\"description\" colspan=2>"
 ALIASES               += endblock="</td></tr>"
-ALIASES               += property="<tr><td>&nbsp;</td><td><table class=\"edcref\" border=\"0\"><tr><td class=\"property\"><tt>"
+ALIASES               += property="<tr><td>&nbsp;</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>&nbsp;</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
index dd111c0..a34c7e7 100644 (file)
--- 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);
+}
index ea98da3..f48f800 100644 (file)
@@ -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