Fix #7993: texinfo: a warning not supporting desc_signature_line node is shown

This commit is contained in:
Takeshi KOMIYA 2020-07-25 23:04:01 +09:00
parent e98f39d21d
commit a6cd9b46cd
2 changed files with 7 additions and 0 deletions

View File

@ -64,6 +64,7 @@ Bugs fixed
* #7968: i18n: The content of ``math`` directive is interpreted as reST on
translation
* #7993: texinfo: TypeError is raised for nested object descriptions
* #7993: texinfo: a warning not supporting desc_signature_line node is shown
* #7869: :rst:role:`abbr` role without an explanation will show the explanation
from the previous abbr role
* C and C++, removed ``noindex`` directive option as it did

View File

@ -1402,6 +1402,12 @@ class TexinfoTranslator(SphinxTranslator):
self.escape_hyphens -= 1
self.desc_type_name = None
def visit_desc_signature_line(self, node: Element) -> None:
pass
def depart_desc_signature_line(self, node: Element) -> None:
pass
def visit_desc_name(self, node: Element) -> None:
pass