Commits

SHIBUKAWA Yoshiki committed d9030de

skip literal_block

  • Participants
  • Parent commits 7940fac

Comments (0)

Files changed (1)

sphinx/builders/intl.py

         self.handle_versioning(docname, doctree, nodes.TextElement)
 
         for node, msg in extract_messages(doctree):
+            if isinstance(node, nodes.literal_block):
+                continue
             if node.source is None:
                 if self.last_source is not None:
                     source = self.last_source