Commits

SHIBUKAWA Yoshiki committed aac8234

skip literal_block

  • Participants
  • Parent commits 5976fac

Comments (0)

Files changed (1)

sphinx/builders/gettext.py

         for node, msg in extract_messages(doctree):
             if not node.source:
                 continue # built-in message
+            if isinstance(node, nodes.literal_block):
+                continue
             if not msg in catalog:
                 catalog[msg] = []
             catalog[msg].append((node.source, node.line, node.uid))