From: Felix W. <Fel...@gm...> - 2005-07-08 01:36:40
|
Martin Blais wrote: > felix, how am i supposed to get the parts if publish_from_doctree is > not returning it? from docutils import core, nodes, utils, io document = utils.new_document('test') document += nodes.paragraph('', 'A paragraph.') parts = core.publish_parts( reader_name='doctree', source_class=io.DocTreeInput, source=document, source_path='test', writer_name='html') Update your working copy first, please. :-) Should we add a publish_parts_from_doctree function? -- For private mail please ensure that the header contains 'Felix Wiemann'. "the number of contributors [...] is strongly and inversely correlated with the number of hoops each project makes a contributing user go through." -- ESR |