  --------
  
  There are a few real world web API examples included with Django REST framework.
  
  #. :ref:`objectstore` - Using :class:`views.View` classes for APIs that do not map to models.
  #. :ref:`codehighlighting` - Using :class:`views.View` classes with forms for input validation.
  #. :ref:`blogposts` - Using :class:`views.ModelView` classes for APIs that map directly to models.
  
  All the examples are freely available for testing in the sandbox:
  
      http://api.django-rest-framework.org
  
 
</s> remove #. :ref:`views`
#. :ref:`modelviews`
 </s> add #. :doc:`examples/views`
#. :doc:`examples/modelviews` </s> remove (The :ref:`sandbox` resource is also documented.)

 </s> add (The :doc:`examples/sandbox` resource is also documented.) </s> remove .. _codehighlighting:

 </s> add  </s> remove sys.path.insert(0, os.path.join(os.path.dirname(os.path.dirname(__file__)), 'djangorestframework'))
sys.path.insert(0, os.path.join(os.path.dirname(os.path.dirname(__file__)), 'examples'))
 </s> add sys.path.insert(0, os.path.join(os.path.dirname(os.path.dirname(__file__)), 'djangorestframework')) # for documenting the library
sys.path.insert(0, os.path.join(os.path.dirname(os.path.dirname(__file__)), 'examples')) # for importing settings </s> remove .. _views:

 </s> add 
#. :doc:`examples/objectstore` - Using :class:`views.View` classes for APIs that do not map to models.
#. :doc:`examples/pygments` - Using :class:`views.View` classes with forms for input validation.
#. :doc:`examples/blogpost` - Using :class:`views.ModelView` classes for APIs that map directly to models.
  --------
  
  There are a few real world web API examples included with Django REST framework.
  
#. :doc:`examples/objectstore` - Using :class:`views.View` classes for APIs that do not map to models.
#. :doc:`examples/pygments` - Using :class:`views.View` classes with forms for input validation.
#. :doc:`examples/blogpost` - Using :class:`views.ModelView` classes for APIs that map directly to models.
#. :doc:`examples/objectstore` - Using :class:`views.View` classes for APIs that do not map to models.
#. :doc:`examples/pygments` - Using :class:`views.View` classes with forms for input validation.
#. :doc:`examples/blogpost` - Using :class:`views.ModelView` classes for APIs that map directly to models.
#. :doc:`examples/objectstore` - Using :class:`views.View` classes for APIs that do not map to models.
#. :doc:`examples/pygments` - Using :class:`views.View` classes with forms for input validation.
#. :doc:`examples/blogpost` - Using :class:`views.ModelView` classes for APIs that map directly to models.
  
  All the examples are freely available for testing in the sandbox:
  
      http://api.django-rest-framework.org
  
keep keep keep keep replace replace replace keep keep keep keep keep
 Some initial refactoring of the docs. 
docs/index.rst