diff --git a/docs/providers/factory.rst b/docs/providers/factory.rst index 4af9b846..24a78ca2 100644 --- a/docs/providers/factory.rst +++ b/docs/providers/factory.rst @@ -6,6 +6,8 @@ Factory providers Nothing could be better than brief example: .. image:: /images/factory.png + :width: 80% + :align: center .. code-block:: python diff --git a/docs/providers/singleton.rst b/docs/providers/singleton.rst index e3a18b76..2e62e813 100644 --- a/docs/providers/singleton.rst +++ b/docs/providers/singleton.rst @@ -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::