[Commits] r470 - in sandbox/website/trunk/docsrc: . _static _templates lib lib/GeoExt/widgets
commits at geoext.org
commits at geoext.org
Sat Apr 25 02:31:30 CEST 2009
Author: tschaub
Date: 2009-04-25 02:31:30 +0200 (Sat, 25 Apr 2009)
New Revision: 470
Added:
sandbox/website/trunk/docsrc/_static/geoext.css
sandbox/website/trunk/docsrc/_templates/layout.html
Modified:
sandbox/website/trunk/docsrc/conf.py
sandbox/website/trunk/docsrc/lib/GeoExt/widgets/MapPanel.rst
sandbox/website/trunk/docsrc/lib/template.jst
Log:
style tweaks
Added: sandbox/website/trunk/docsrc/_static/geoext.css
===================================================================
--- sandbox/website/trunk/docsrc/_static/geoext.css (rev 0)
+++ sandbox/website/trunk/docsrc/_static/geoext.css 2009-04-25 00:31:30 UTC (rev 470)
@@ -0,0 +1,12 @@
+
+/* meta-info about a class/module get pulled out */
+.meta {
+ float: right;
+ padding: 0 2em;
+ background-color: white;
+}
+
+/* don't display class names for attributes */
+.attribute .descclassname {
+ display: none;
+}
\ No newline at end of file
Added: sandbox/website/trunk/docsrc/_templates/layout.html
===================================================================
--- sandbox/website/trunk/docsrc/_templates/layout.html (rev 0)
+++ sandbox/website/trunk/docsrc/_templates/layout.html 2009-04-25 00:31:30 UTC (rev 470)
@@ -0,0 +1,4 @@
+{% extends "!layout.html" %}
+{% block extrahead %}
+ <link rel="stylesheet" href="{{ pathto('_static/geoext.css', 1) }}" type="text/css" />
+{% endblock %}
Modified: sandbox/website/trunk/docsrc/conf.py
===================================================================
--- sandbox/website/trunk/docsrc/conf.py 2009-04-24 23:23:19 UTC (rev 469)
+++ sandbox/website/trunk/docsrc/conf.py 2009-04-25 00:31:30 UTC (rev 470)
@@ -91,7 +91,7 @@
# The theme to use for HTML and HTML Help pages. Major themes that come with
# Sphinx are currently 'default' and 'sphinxdoc'.
-html_theme = 'default'
+html_theme = 'sphinxdoc'
# Theme options are theme-specific and customize the look and feel of a theme
# further. For a list of options available for each theme, see the
Modified: sandbox/website/trunk/docsrc/lib/GeoExt/widgets/MapPanel.rst
===================================================================
--- sandbox/website/trunk/docsrc/lib/GeoExt/widgets/MapPanel.rst 2009-04-24 23:23:19 UTC (rev 469)
+++ sandbox/website/trunk/docsrc/lib/GeoExt/widgets/MapPanel.rst 2009-04-25 00:31:30 UTC (rev 470)
@@ -4,22 +4,23 @@
:class:`GeoExt.MapPanel`
=================================
-.. class:: MapPanel(config)
-
- Create a panel container for a map.
+.. cssclass:: meta
-.. rubric:: Extends
+Extends
+ `Ext.Panel <http://extjs.com/deploy/dev/docs/?class=Ext.Panel>`_
-* `Ext.Panel <http://extjs.com/deploy/dev/docs/?class=Ext.Panel>`_
+xtype
+ ``gx_mappanel``
-.. describe:: xtype
- gx_mappanel
+.. class:: MapPanel(config)
+
+ Create a panel container for a map.
@@ -110,7 +111,7 @@
.. attribute:: MapPanel.map
-``OpenLayers.Map`` A configured map object.
+ ``OpenLayers.Map`` A configured map object.
Modified: sandbox/website/trunk/docsrc/lib/template.jst
===================================================================
--- sandbox/website/trunk/docsrc/lib/template.jst 2009-04-24 23:23:19 UTC (rev 469)
+++ sandbox/website/trunk/docsrc/lib/template.jst 2009-04-25 00:31:30 UTC (rev 470)
@@ -4,9 +4,9 @@
a doc with the following sections:
* Header (full class name)
- * Constructor (class def)
* Parent Link (optional link to ext super)
* Xtype (optional)
+ * Constructor (class def)
* Examples (optional)
* Config Options (optional)
* Public Properties (optional)
@@ -19,20 +19,22 @@
:class:`{{ module }}.{{ class }}`
=================================
-{{ constructor }}
+{% if parent_link is defined or xtype is defined %}
+.. cssclass:: meta
{% if parent_link is defined %}
-.. rubric:: Extends
-
-* {{ parent_link }}
+Extends
+ {{ parent_link }}
{% endif %}
{% if xtype is defined %}
-.. describe:: xtype
-
- {{ xtype }}
+xtype
+ ``{{ xtype }}``
{% endif %}
+{% endif %}
+{{ constructor }}
+
{% if example is defined %}
Example Use
-----------
More information about the Commits
mailing list