Add docs for storages.

This commit is contained in:
Alex Root Junior 2017-08-04 16:57:42 +03:00
parent a59c5af5d0
commit 53292dad15
4 changed files with 30 additions and 7 deletions

View file

@ -0,0 +1,5 @@
Contrib
=======
.. toctree::
storages

View file

@ -0,0 +1,18 @@
Storages for FSM
================
You can create you own storage by extending :class:`aiogram.dispatcher.storage.BaseStorage` or use default storages:
Simple in-memory storage
------------------------
.. automodule:: aiogram.contrib.fsm_storage.memory
:members:
:show-inheritance:
Redis storage
-------------
.. automodule:: aiogram.contrib.fsm_storage.redis
:members:
:show-inheritance:

View file

@ -1,6 +1,5 @@
Features
========
Markdown
--------
.. toctree::
contrib/contrib