Make the examples more compact

This commit is contained in:
Christophe de Vienne 2012-04-23 11:28:40 +02:00
parent e7ad3d8bbd
commit 61593d98bc
2 changed files with 17 additions and 14 deletions

View File

@ -26,17 +26,20 @@ How Easy ?
With this published at the ``/ws`` path of your application, you can access With this published at the ``/ws`` path of your application, you can access
your hello function in various protocols: your hello function in various protocols:
``http://<server>/ws/hello.json?who=you`` .. list-table::
:: :header-rows: 1
"Hello you !" * - URL
- Returns
* - ``http://<server>/ws/hello.json?who=you``
- ``"Hello you !"``
``http://<server>/ws/hello.xml`` * - ``http://<server>/ws/hello.xml``
:: - ``<result>Hello World !</result>``
<result>Hello World !</result> * - ``http://<server>/ws/api.wsdl``
- A WSDL description for any SOAP client.
``http://<server>/ws/api.wsdl`` -> A WSDL description for any SOAP client.
Main features Main features
@ -47,19 +50,19 @@ Main features
- Multi-protocol : REST+Json, REST+XML, SOAP, ExtDirect and more to come. - Multi-protocol : REST+Json, REST+XML, SOAP, ExtDirect and more to come.
- Extensible : easy to add more protocols or more base types. - Extensible : easy to add more protocols or more base types.
- Framework independance : adapters are provided to easily integrate - Framework independance : adapters are provided to easily integrate
your API in any web framework, for example a wsgi container, your API in any web framework, for example a wsgi container,
turbogears... turbogears...
- Very few runtime dependencies: webob, simplegeneric - Very few runtime dependencies: webob, simplegeneric
(+ Genshi if you use SOAP). (+ Genshi if you use SOAP).
- Integration in `Sphinx`_ for making clean documentation with - Integration in `Sphinx`_ for making clean documentation with
wsme.sphinxext (work in progress). wsme.sphinxext (work in progress).
Install Install
~~~~~~~ ~~~~~~~
:: ::
easy_install WSME easy_install WSME
Getting Help Getting Help
~~~~~~~~~~~~ ~~~~~~~~~~~~

View File

@ -1,5 +1,5 @@
.. include:: ../README .. include:: ../README.rst
Contents Contents
-------- --------