Sphinx.add_lexer() now takes a Lexer class instead of instance

This commit is contained in:
Takeshi KOMIYA
2019-06-01 12:45:08 +09:00
parent 5d8c25b605
commit 71842264b2
2 changed files with 16 additions and 6 deletions

View File

@@ -13,6 +13,8 @@ Incompatible changes
by non-ASCII characters
* #4550: html: Centering tables by default using CSS
* #6239: latex: xelatex and xeCJK are used for Chinese documents by default
* ``Sphinx.add_lexer()`` now takes a Lexer class instead of instance. An
instance of lexers are still supported until Sphinx-3.x.
Deprecated
----------