Skip to content

Commit

Permalink
Slight documentation update.
Browse files Browse the repository at this point in the history
  • Loading branch information
Koen Van Daele committed Jun 4, 2015
1 parent aa00edb commit 4f83ce3
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
10 changes: 9 additions & 1 deletion atramhasis/routes.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,17 @@
# -*- coding: utf-8 -*-
'''
Routes for the ATRAMHASIS views.
Routes for the Atramhasis views.
.. versionadded:: 0.4.4
'''

def includeme(config):
'''
Setup the routing for Atramhasis.
:param pyramid.config.Configurator config: The application config.
'''

config.add_rewrite_rule(r'/(?P<path>.*)/', r'/%(path)s')
config.add_route('home', '/')

Expand Down
6 changes: 6 additions & 0 deletions docs/source/api.rst
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,12 @@ atramhasis.protected_resources
.. automodule:: atramhasis.protected_resources
:members:

atramhasis.routes
=================

.. automodule:: atramhasis.routes
:members:

atramhasis.utils
================

Expand Down

0 comments on commit 4f83ce3

Please sign in to comment.