<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On Jul 10, 2010, at 10:48 PM, Kevin Horn wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><span class="Apple-style-span" style="border-collapse: separate; font-family: Menlo; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; ">Let's just say there's a reason that there's not an official docutils tool to _create_ restructuredText.<br></span></blockquote></div><br><div>Is that really true? &nbsp;If so, it concerns me. &nbsp;Isn't that what docutils.writer.UnfilteredWriter does? &nbsp;Even if not, it should be possible - reasonable, even - to write a docutils.writer.Writer which just emits reST.</div><div><br></div><div>Sphinx is a nice tool, but reST's grossness bothers me more and more. &nbsp;If there are really no tools which can <i>emit</i> reStructuredText from a data structure, that means we have no hope of ever processing our source documentation in deterministic, correct ways (as a trivial example, let's say we wanted to change the name of a package). &nbsp;It's not a lot of <i>fun</i>&nbsp;to process XML documents, but there are plenty of APIs to do it and to be sure that the output is still XML when you're done.</div><div><br></div><div>This is really a theoretical concern (in the years we've been using lore, we never really managed to use any XML tools with it), and on balance all the features that sphinx brings to the table are almost certainly worth living with it, but it still bugs me. &nbsp;Where should I file and/or vote for a bug report or feature request? &nbsp;Is this sphinx's problem, docutils, or both?</div><div><br></div></body></html>