Commits

Cmed Technology committed 9166dd3 Draft

tidy

  • Participants
  • Parent commits 51edccc

Comments (0)

Files changed (1)

 copied.
 
 
-Start the example app server
-~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+Start the example app server:
 
 ::
 
-    ~/code/rest-api-blueprint$ python server.py
+    -/code/rest-api-blueprint$ python server.py
      * Running on http://127.0.0.1:5000/
      * Restarting with reloader
     ...
 
-Add person details with the `example app <https://bitbucket.org/tcorbettclark/rest-api-blueprint/wiki/ExampleApp>`_
-~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+Add person details with the `example app <https://bitbucket.org/tcorbettclark/rest-api-blueprint/wiki/ExampleApp>`_:
 
 ::
 
       "status": "ok"
     }
 
-Retrieve person details with the `example app <https://bitbucket.org/tcorbettclark/rest-api-blueprint/wiki/ExampleApp>`_
-~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+Retrieve person details with the `example app <https://bitbucket.org/tcorbettclark/rest-api-blueprint/wiki/ExampleApp>`_:
 
 ::
 
       }
     }
 
-Run the BDD tests
-~~~~~~~~~~~~~~~~~
-
-For details see `here <https://bitbucket.org/tcorbettclark/rest-api-
-blueprint/wiki/AutomaticTesting>`_. Quick taster:
+Run the BDD tests (for details see `here <https://bitbucket.org/tcorbettclark
+/rest-api- blueprint/wiki/AutomaticTesting>`_):
 
 ::
 
         Given I am using version "v1"                                    # features/steps/all.py:14
     ...
 
-Make the API docs
-~~~~~~~~~~~~~~~~~
+Make the API docs:
 
 ::
 
     build succeeded.
     Copying ansi stylesheet... done
 
-Be redirected to the on-line docs
-~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+Be redirected to the on-line docs:
 
 ::
 
     <h1>Redirecting...</h1>
     <p>You should be redirected automatically to target URL: <a href="static/apidocs/people.html">static/apidocs/people.html</a>.  If not click the link.
 
-Interacting using `Slumber <http://slumber.in>`_
-~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+Interacting using `Slumber <http://slumber.in>`_:
 
 ::
 
     >>>api.people.tim.get()
     {u'result': {u'comment': None, u'email': u'a@b.c', u'name': u'tim'}, u'status': u'ok'}
 
-Packaging
----------
+Packaging:
 
 To provide a template packaging, everything is packaged using
 `distribute <http://packages.python.org/distribute/>`_.