Skip to content
This repository has been archived by the owner on Aug 24, 2022. It is now read-only.

Commit

Permalink
add Django docstrings to docs
Browse files Browse the repository at this point in the history
  • Loading branch information
anatskiy committed Jan 25, 2017
1 parent f0470cd commit ab497b7
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 4 deletions.
14 changes: 10 additions & 4 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,17 @@
# If extensions (or modules to document with autodoc) are in another directory,
# 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.
#
# import os
# import sys
# sys.path.insert(0, os.path.abspath('.'))

import os
import sys
import datetime
import django

sys.path.insert(0, os.path.abspath('../..'))

os.environ['DJANGO_SETTINGS_MODULE'] = 'wui.settings'
django.setup()


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

Expand Down
2 changes: 2 additions & 0 deletions docs/source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ Contents

Parkour API Documentation <api/index>

Views: <modules/views>

Indices and tables
==================

Expand Down
4 changes: 4 additions & 0 deletions docs/source/modules/views.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Views
======
.. automodule:: request.views
:members:

0 comments on commit ab497b7

Please sign in to comment.