Add allowed_exceptions parameter to Sphinx.emit() (refs: #7683)

It allows handlers to raise specified exceptions.
This commit is contained in:
Takeshi KOMIYA
2020-05-17 18:53:34 +09:00
parent 5f51a1e63f
commit 3206e3154a
4 changed files with 46 additions and 9 deletions

View File

@@ -73,6 +73,8 @@ Features added
:rst:dir:`py:exception:` and :rst:dir:`py:method:` directives
* #7596: py domain: Change a type annotation for variables to a hyperlink
* #7582: napoleon: a type for attribute are represented like type annotation
* #7683: Add ``allowed_exceptions`` parameter to ``Sphinx.emit()`` to allow
handlers to raise specified exceptions
Bugs fixed
----------