Skip to content

Commit

Permalink
Fix API documentation. Fixes #306.
Browse files Browse the repository at this point in the history
  • Loading branch information
wunki committed Oct 14, 2013
1 parent 0076ab8 commit 999fedd
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 7 deletions.
5 changes: 4 additions & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,11 @@
# add these directories to sys.path here. If the directory is relative to the
# documentation root, use os.path.abspath to make it absolute, like shown here.
sys.path.append(os.path.abspath('..'))
os.environ['DJANGO_SETTINGS_MODULE'] = 'demo.settings'
sys.path.append(os.path.abspath('../demo'))
userena = __import__('userena')
demo = __import__('demo')
os.environ['DJANGO_SETTINGS_MODULE'] = 'demo.settings'


# -- General configuration -----------------------------------------------------

Expand Down
12 changes: 6 additions & 6 deletions docs/contrib/umessages/api/views.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@ Views

.. automodule:: userena.contrib.umessages.views

message_list
------------
MessageListView
---------------

.. autofunction:: userena.contrib.umessages.views.message_list
.. autofunction:: userena.contrib.umessages.views.MessageListView

message_detail
--------------
MessageDetailListView
---------------------

.. autofunction:: userena.contrib.umessages.views.message_detail
.. autofunction:: userena.contrib.umessages.views.MessageDetailListView

message_compose
---------------
Expand Down

0 comments on commit 999fedd

Please sign in to comment.