Skip to content

Commit

Permalink
Add autodocs on 'peewee_asyncext', see #3
Browse files Browse the repository at this point in the history
  • Loading branch information
rudyryk committed Dec 5, 2015
1 parent a47518a commit d1cdf9f
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

- Add public `allow_sync` flag to database class, `True` by default
- Remove arguments from `sync_unwanted()` context manager function
- Add autodocs on `peewee_asyncext`

## 0.3

Expand Down
1 change: 1 addition & 0 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
sys.path.insert(0, root_dir)

import peewee_async
import peewee_asyncext

# 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
Expand Down
8 changes: 6 additions & 2 deletions docs/peewee_async/api.rst
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,14 @@ Aggregation
Databases
---------

.. autoclass:: peewee_async.PooledPostgresqlDatabase
.. autoclass:: peewee_async.PostgresqlDatabase
:members: connect_async

.. autoclass:: peewee_async.PostgresqlDatabase
.. autoclass:: peewee_async.PooledPostgresqlDatabase
:members: connect_async

.. autoclass:: peewee_asyncext.PostgresqlExtDatabase
:members: connect_async

.. autoclass:: peewee_asyncext.PooledPostgresqlExtDatabase
:members: connect_async

0 comments on commit d1cdf9f

Please sign in to comment.