diff --git a/docs/images/callable.png b/docs/images/providers/callable.png similarity index 100% rename from docs/images/callable.png rename to docs/images/providers/callable.png diff --git a/docs/images/external_dependency.png b/docs/images/providers/external_dependency.png similarity index 100% rename from docs/images/external_dependency.png rename to docs/images/providers/external_dependency.png diff --git a/docs/images/factory.png b/docs/images/providers/factory.png similarity index 100% rename from docs/images/factory.png rename to docs/images/providers/factory.png diff --git a/docs/images/factory_attribute_injections.png b/docs/images/providers/factory_attribute_injections.png similarity index 100% rename from docs/images/factory_attribute_injections.png rename to docs/images/providers/factory_attribute_injections.png diff --git a/docs/images/factory_delegation.png b/docs/images/providers/factory_delegation.png similarity index 100% rename from docs/images/factory_delegation.png rename to docs/images/providers/factory_delegation.png diff --git a/docs/images/factory_init_injections.png b/docs/images/providers/factory_init_injections.png similarity index 100% rename from docs/images/factory_init_injections.png rename to docs/images/providers/factory_init_injections.png diff --git a/docs/images/factory_init_injections_and_contexts.png b/docs/images/providers/factory_init_injections_and_contexts.png similarity index 100% rename from docs/images/factory_init_injections_and_contexts.png rename to docs/images/providers/factory_init_injections_and_contexts.png diff --git a/docs/images/factory_method_injections.png b/docs/images/providers/factory_method_injections.png similarity index 100% rename from docs/images/factory_method_injections.png rename to docs/images/providers/factory_method_injections.png diff --git a/docs/images/singleton.png b/docs/images/providers/singleton.png similarity index 100% rename from docs/images/singleton.png rename to docs/images/providers/singleton.png diff --git a/docs/images/singleton_internals.png b/docs/images/providers/singleton_internals.png similarity index 100% rename from docs/images/singleton_internals.png rename to docs/images/providers/singleton_internals.png diff --git a/docs/providers/callable.rst b/docs/providers/callable.rst index a2ca017e..3fdc7c63 100644 --- a/docs/providers/callable.rst +++ b/docs/providers/callable.rst @@ -15,7 +15,7 @@ Context keyword arguments have higher priority than ``KwArg`` injections. Example: -.. image:: /images/callable.png +.. image:: /images/providers/callable.png :width: 100% :align: center diff --git a/docs/providers/external_dependency.rst b/docs/providers/external_dependency.rst index 91fd629c..19c1377a 100644 --- a/docs/providers/external_dependency.rst +++ b/docs/providers/external_dependency.rst @@ -35,7 +35,7 @@ Example: Instead of this, ``UserService`` has external dependency, that has to be satisfied by cleint's code, out of library's scope. -.. image:: /images/external_dependency.png +.. image:: /images/providers/external_dependency.png .. code-block:: python diff --git a/docs/providers/factory.rst b/docs/providers/factory.rst index bc0cc9b1..4d1867e9 100644 --- a/docs/providers/factory.rst +++ b/docs/providers/factory.rst @@ -5,7 +5,7 @@ Factory providers Nothing could be better than brief example: -.. image:: /images/factory.png +.. image:: /images/providers/factory.png :width: 80% :align: center @@ -69,7 +69,7 @@ Example below shows how to create ``Factory`` of particular class with ``__init__`` keyword argument injections which injectable values are also provided by another factories: -.. image:: /images/factory_init_injections.png +.. image:: /images/providers/factory_init_injections.png .. code-block:: python @@ -120,7 +120,7 @@ useful for testing). So, please, follow the example below: -.. image:: /images/factory_init_injections_and_contexts.png +.. image:: /images/providers/factory_init_injections_and_contexts.png .. code-block:: python @@ -208,7 +208,7 @@ with injectable values right after object's creation. Example: -.. image:: /images/factory_attribute_injections.png +.. image:: /images/providers/factory_attribute_injections.png .. code-block:: python @@ -280,7 +280,7 @@ some cases. Example: -.. image:: /images/factory_method_injections.png +.. image:: /images/providers/factory_method_injections.png .. code-block:: python @@ -364,7 +364,7 @@ factory. Example: -.. image:: /images/factory_delegation.png +.. image:: /images/providers/factory_delegation.png .. code-block:: python diff --git a/docs/providers/singleton.rst b/docs/providers/singleton.rst index 4da14692..bbaca13f 100644 --- a/docs/providers/singleton.rst +++ b/docs/providers/singleton.rst @@ -6,7 +6,7 @@ and returns same instance on every next call. Example: -.. image:: /images/singleton.png +.. image:: /images/providers/singleton.png :width: 80% :align: center @@ -41,7 +41,7 @@ Singleton providers and injections specified class instance, so, all of the rules about injections are the same, as for ``Factory`` providers. -.. image:: /images/singleton_internals.png +.. image:: /images/providers/singleton_internals.png :width: 80% :align: center