Rev 5226: Stop gap fix to make makeinfo a bit more happy. in file:///home/vila/src/bzr/bugs/219334-texinfo/
Vincent Ladeuil
v.ladeuil+lp at free.fr
Fri Jul 9 11:07:29 BST 2010
At file:///home/vila/src/bzr/bugs/219334-texinfo/
------------------------------------------------------------
revno: 5226
revision-id: v.ladeuil+lp at free.fr-20100709100729-8pzsusdw5ae9lkkj
parent: v.ladeuil+lp at free.fr-20100709082520-lfbhqd06bne8mi6t
committer: Vincent Ladeuil <v.ladeuil+lp at free.fr>
branch nick: texinfo
timestamp: Fri 2010-07-09 12:07:29 +0200
message:
Stop gap fix to make makeinfo a bit more happy.
-------------- next part --------------
=== 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 Top\n at top Placeholder\n'
+ self.body = top_cmd + ''.join(node['text'])
# Layout
More information about the bazaar-commits
mailing list