From b261251b34fa859b36dcc112199eb1426cae55c8 Mon Sep 17 00:00:00 2001 From: ZipFile Date: Mon, 16 Jun 2025 08:48:16 +0000 Subject: [PATCH] Fix Sphinx warning --- docs/api/asgi-lifespan.rst | 9 +++++++++ docs/providers/resource.rst | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) create mode 100644 docs/api/asgi-lifespan.rst diff --git a/docs/api/asgi-lifespan.rst b/docs/api/asgi-lifespan.rst new file mode 100644 index 00000000..bcf5431d --- /dev/null +++ b/docs/api/asgi-lifespan.rst @@ -0,0 +1,9 @@ +dependency_injector.ext.starlette +================================= + +.. automodule:: dependency_injector.ext.starlette + :members: + :inherited-members: + :show-inheritance: + +.. disqus:: diff --git a/docs/providers/resource.rst b/docs/providers/resource.rst index 87a0a17e..b07c2db0 100644 --- a/docs/providers/resource.rst +++ b/docs/providers/resource.rst @@ -314,7 +314,7 @@ And to initialize all resources you can use ``init_resources()`` and ``shutdown_ # >>> Shutdown generic -It works using the :ref:`traverse` method to find all resources of the specified type, selecting all resources +It works using the ``traverse()`` method to find all resources of the specified type, selecting all resources which are instances of the specified type.