Add cross-links between container singletons and reset container singletons docs pages

This commit is contained in:
Roman Mogylatov 2021-02-14 18:51:55 -05:00
parent 8eea9c4e45
commit 0d8f2ff44e
3 changed files with 10 additions and 0 deletions

View File

@ -1,3 +1,5 @@
.. _reset-container-singletons:
Reset container singletons
--------------------------
@ -16,4 +18,6 @@ Method ``.reset_singletons()`` also resets singletons in sub-containers: ``provi
:lines: 3-
:emphasize-lines: 21
See also: :ref:`singleton-provider`.
.. disqus::

View File

@ -13,6 +13,8 @@ Development version
are defined.
See issue: `#383 <https://github.com/ets-labs/python-dependency-injector/issues/383>`_.
Thanks to `@shaunc <https://github.com/shaunc>`_ for suggesting the feature.
- Add docs cross-links between ``Singleton`` provider and "Reset container singletons"
pages.
4.21.0
------

View File

@ -1,3 +1,5 @@
.. _singleton-provider:
Singleton provider
==================
@ -62,6 +64,8 @@ call ``.full_reset()`` method.
:lines: 3-
:emphasize-lines: 25
See also: :ref:`reset-container-singletons`.
Using singleton with multiple threads
-------------------------------------