mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2026-10-12 08:25:01 -05:00
Index.generate() raises NotImplementedError by default
This commit is contained in:
1 parent
ea9177c803
commit
69e64cfe26
2 files changed
+3
-1
No files matched your search
@@ -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
|
||||
----------------
|
||||
|
||||
@@ -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):
|
||||
|
||||
Reference in new issue
Block a user