docs/_static/live_widget_interaction.png |binary
docs/_static/live_widgets.png |binary
docs/_static/widget.png |binary
docs/main/LiveWidget.rst | 8 ++++++++
docs/main/Widgets.rst | 16 +++++++++++++---
5 files changed, 21 insertions(+), 3 deletions(-)
New commits:
commit f431f9d76303b67c752f3c242017c0a2e01daab9
Author: Luke Macken <lmacken(a)redhat.com>
Date: Wed Dec 16 21:39:59 2009 -0500
Add widget diagrams and reorganize our widget docs
diff --git a/docs/_static/live_widget_interaction.png
b/docs/_static/live_widget_interaction.png
new file mode 100644
index 0000000..9a15a3b
Binary files /dev/null and b/docs/_static/live_widget_interaction.png differ
diff --git a/docs/_static/live_widgets.png b/docs/_static/live_widgets.png
new file mode 100644
index 0000000..f3d0132
Binary files /dev/null and b/docs/_static/live_widgets.png differ
diff --git a/docs/_static/widget.png b/docs/_static/widget.png
new file mode 100644
index 0000000..520b898
Binary files /dev/null and b/docs/_static/widget.png differ
diff --git a/docs/main/LiveWidget.rst b/docs/main/LiveWidget.rst
index f1d9709..6caae06 100644
--- a/docs/main/LiveWidget.rst
+++ b/docs/main/LiveWidget.rst
@@ -7,6 +7,8 @@ your widget to a given message `topic`, or list of topics. When the
widget
receives a new message, the `onmessage` JavaScript callback will be run by the
client with JSON data in the `json` variable.
+.. image:: ../_static/live_widgets.png
+
A basic LiveWidget
------------------
@@ -68,3 +70,9 @@ uses a little bit of jQuery to add and remove feed entries from a list.
});
"""
feed = Feed()
+
+Live Widget Interaction
+-----------------------
+
+.. image:: ../_static/live_widget_interaction.png
+
diff --git a/docs/main/Widgets.rst b/docs/main/Widgets.rst
index ece86be..75ec236 100644
--- a/docs/main/Widgets.rst
+++ b/docs/main/Widgets.rst
@@ -7,9 +7,10 @@ integrated into TurboGears2, and thus Moksha, out of the box. Along with
their
official documentation, you can also find great ToscaWidgets tutorials in the
`TurboGears2 <
http://www.turbogears.org/2.0/docs/toc.html>`_ docs.
- * `ToscaWidgets <
http://toscawidgets.org>`_
- * `Writing Widget Demos <
http://toscawidgets.org/documentation/WidgetBrowser>`_
- * `TurboGears2 Documentation <
http://www.turbogears.org/2.0/docs/toc.html>`_
+.. image:: ../_static/widget.png
+
+Moksha Widget Docs
+------------------
.. toctree::
@@ -19,6 +20,15 @@ official documentation, you can also find great ToscaWidgets tutorials
in the
LiveWidget
MokshaContainerWidgets
+
.. seealso::
:doc:`MokshaLabs`
+
+External Documentation
+----------------------
+* `ToscaWidgets <
http://toscawidgets.org>`_
+* `Writing Widget Demos <
http://toscawidgets.org/documentation/WidgetBrowser>`_
+* `TurboGears2 Documentation <
http://www.turbogears.org/2.0/docs/toc.html>`_
+
+