[Commits] r913 - in core/trunk/docsrc: _theme/geoext/static lib

commits at geoext.org commits at geoext.org
Fri May 29 22:12:28 CEST 2009


Author: tschaub
Date: 2009-05-29 22:12:28 +0200 (Fri, 29 May 2009)
New Revision: 913

Modified:
   core/trunk/docsrc/_theme/geoext/static/geoext.css
   core/trunk/docsrc/lib/template.jst
Log:
Adding a section in the generic template for class methods.

Modified: core/trunk/docsrc/_theme/geoext/static/geoext.css
===================================================================
--- core/trunk/docsrc/_theme/geoext/static/geoext.css	2009-05-29 20:02:31 UTC (rev 912)
+++ core/trunk/docsrc/_theme/geoext/static/geoext.css	2009-05-29 20:12:28 UTC (rev 913)
@@ -156,6 +156,9 @@
 .method .descclassname {
     display: none;
 }
+.classmethod .descclassname, .classmethod .property {
+    display: none;
+}
 
 /* headers with bottom border get some padding */
 h2, h3, h4 {

Modified: core/trunk/docsrc/lib/template.jst
===================================================================
--- core/trunk/docsrc/lib/template.jst	2009-05-29 20:02:31 UTC (rev 912)
+++ core/trunk/docsrc/lib/template.jst	2009-05-29 20:12:28 UTC (rev 913)
@@ -12,6 +12,7 @@
         * Public Properties (optional)
         * Public Methods (optional)
         * Events (optional)
+        * Class Methods (optional)
 
 #}
 .. currentmodule:: {{ module }}
@@ -98,3 +99,17 @@
     {{ desc|indent(4) }}
 {% endfor %}
 {% endif %}
+
+{% if classmethod is defined %}
+Class Methods
+-------------
+
+Class methods{% if base_link is defined %} in addition to static methods
+listed for {{ base_link }}{% endif %}.
+
+{% for (name, desc) in classmethod|dictsort %}
+.. classmethod:: {{ class }}.{{ name }}
+
+    {{ desc|indent(4) }}
+{% endfor %}
+{% endif %}



More information about the Commits mailing list