At file:///home/vila/src/bzr/bugs/219334-texinfo/

------------------------------------------------------------
revno: 5226
revision-id: [email protected]
parent: [email protected]
committer: Vincent Ladeuil <[email protected]>
branch nick: texinfo
timestamp: Fri 2010-07-09 12:07:29 +0200
message:
  Stop gap fix to make makeinfo a bit more happy.
=== modified file 'bzrlib/doc_generate/writers/texinfo.py'
--- a/bzrlib/doc_generate/writers/texinfo.py    2010-07-09 08:25:20 +0000
+++ b/bzrlib/doc_generate/writers/texinfo.py    2010-07-09 10:07:29 +0000
@@ -80,7 +80,11 @@
         set_item_list_collector(node, 'text')
 
     def depart_document(self, node):
-        self.body = ''.join(node['text'])
+        # FIXME: info requires a Top node for each info file, but unless we
+        # chose a global layout to divide the overall documentation into a set
+        # of info files, there is no criteria to decide for a title.
+        top_cmd = '@node to...@top Placeholder\n'
+        self.body = top_cmd + ''.join(node['text'])
 
     # Layout
 

-- 
bazaar-commits mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/bazaar-commits

Reply via email to