Index.generate() raises NotImplementedError by default

This commit is contained in:
Takeshi KOMIYA committed 2017-01-24 02:07:04 +09:00
1 parent ea9177c803
commit 69e64cfe26
2 files changed
+3 -1

No files matched your search

+2
View File
@@ -8,6 +8,8 @@ Incompatible changes
members by default. Thanks to Luc Saffre.
* LaTeX ``\includegraphics`` command isn't overloaded: only ``\sphinxincludegraphics``
has the custom code to fit image to available width if oversized.
* The subclasses of ``sphinx.domains.Index`` should override ``generate()``
method. The default implementation raises NotImplmentedError
Features removed
----------------
+1 -1
View File
@@ -107,7 +107,7 @@ class Index(object):
Qualifier and description are not rendered e.g. in LaTeX output.
"""
return tuple()
raise NotImplementedError
class Domain(object):