diff options
| author | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2019-03-09 16:46:41 +0900 |
|---|---|---|
| committer | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2019-04-16 14:06:36 +0900 |
| commit | 06f86b06399937bb2018841b5dd5fcbf4e54d7a0 (patch) | |
| tree | cd0425510bb037c443f3b9d567ab3eb2a1f25a29 /doc/extdev/appapi.rst | |
| parent | 419f2e5fc904ec0819177305270ae1c5c8a38813 (diff) | |
| download | sphinx-git-06f86b06399937bb2018841b5dd5fcbf4e54d7a0.tar.gz | |
Make EventManager portable
So far, we need to bypass application object for modules to emit
a event. This make EventManager portable and easy to pass event
emitter. This brings modules less coupled with application object.
Diffstat (limited to 'doc/extdev/appapi.rst')
| -rw-r--r-- | doc/extdev/appapi.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/extdev/appapi.rst b/doc/extdev/appapi.rst index fe64628a4..bb4994909 100644 --- a/doc/extdev/appapi.rst +++ b/doc/extdev/appapi.rst @@ -147,7 +147,7 @@ Sphinx core events ------------------ These events are known to the core. The arguments shown are given to the -registered event handlers. Use :meth:`.connect` in an extension's ``setup`` +registered event handlers. Use :meth:`.Sphinx.connect` in an extension's ``setup`` function (note that ``conf.py`` can also have a ``setup`` function) to connect handlers to the events. Example: |
