Adding better scalling for some factory and singleton documentation images

This commit is contained in:
Roman Mogilatov 2015-06-26 10:21:23 +03:00
parent c56cb70a24
commit db09503426
2 changed files with 6 additions and 0 deletions

View File

@ -6,6 +6,8 @@ Factory providers
Nothing could be better than brief example:
.. image:: /images/factory.png
:width: 80%
:align: center
.. code-block:: python

View File

@ -7,6 +7,8 @@ and returns same instance on every next call.
Example:
.. image:: /images/singleton.png
:width: 80%
:align: center
.. code-block:: python
@ -42,6 +44,8 @@ specified class instance, so, all of the rules about injections are the same,
as for ``Factory`` providers.
.. image:: /images/singleton_internals.png
:width: 80%
:align: center
.. note::