Re: [Twisted-Python] Lore and generating reStructuredText (Lore2Sphinx)

2013-03-27 Thread Kevin Horn
On Tue, Mar 26, 2013 at 10:43 PM, Andrew Bennetts wrote: > Kevin Horn wrote: > […] > > Why? What does this buy us? To me it seems more complicated, requires > […] > > > > If it's just an incremental transition, then I think we can get that > > without resorting to relying on the guts of two fair

Re: [Twisted-Python] Lore and generating reStructuredText (Lore2Sphinx)

2013-03-26 Thread Andrew Bennetts
Kevin Horn wrote: […] > Why? What does this buy us? To me it seems more complicated, requires […] > > If it's just an incremental transition, then I think we can get that > without resorting to relying on the guts of two fairly complicated systems. Although I'm blissfully ignorant of the deeper

Re: [Twisted-Python] Lore and generating reStructuredText (Lore2Sphinx)

2013-03-26 Thread Kevin Horn
On Tue, Mar 26, 2013 at 3:41 PM, Glyph wrote: > On Mar 26, 2013, at 7:03 AM, Kevin Horn wrote: > > - figure out a way to get Sphinx to take doctrees as input (I'm guessing > you'd serialize them in whatever way Sphinx does when it does it's caching, > stick them in the cache, and then get Sphinx

Re: [Twisted-Python] Lore and generating reStructuredText (Lore2Sphinx)

2013-03-26 Thread Glyph
On Mar 26, 2013, at 7:03 AM, Kevin Horn wrote: > - figure out a way to get Sphinx to take doctrees as input (I'm guessing > you'd serialize them in whatever way Sphinx does when it does it's caching, > stick them in the cache, and then get Sphinx to build from the cache?) This is the only part

Re: [Twisted-Python] Lore and generating reStructuredText (Lore2Sphinx)

2013-03-26 Thread Kevin Horn
On Mon, Mar 25, 2013 at 6:29 PM, Glyph wrote: > > On Mar 25, 2013, at 9:16 AM, Kevin Horn wrote: > > How can you tell that this was created by a directive? You can't, because > it could just as easily have been a list full of links to begin with. > > > But, I don't care if it was created by a d

Re: [Twisted-Python] Lore and generating reStructuredText (Lore2Sphinx)

2013-03-25 Thread Glyph
On Mar 25, 2013, at 9:16 AM, Kevin Horn wrote: > How can you tell that this was created by a directive? You can't, because it > could just as easily have been a list full of links to begin with. But, I don't care if it was created by a directive or not. I think we're talking about two differ

Re: [Twisted-Python] Lore and generating reStructuredText (Lore2Sphinx)

2013-03-25 Thread Kevin Horn
On Sat, Mar 23, 2013 at 9:57 PM, Glyph wrote: > > On Mar 21, 2013, at 7:17 AM, Kevin Horn wrote: > > Notice that the node trees look exactly the same. Now this is not quite > true, as there's probably some attributes on the actual Python nodes that > might be used to distinguish them when writi

Re: [Twisted-Python] Lore and generating reStructuredText (Lore2Sphinx)

2013-03-23 Thread Glyph
On Mar 21, 2013, at 7:17 AM, Kevin Horn wrote: > Notice that the node trees look exactly the same. Now this is not quite > true, as there's probably some attributes on the actual Python nodes that > might be used to distinguish them when writing output which aren't displayed > here...they ce

Re: [Twisted-Python] Lore and generating reStructuredText (Lore2Sphinx)

2013-03-21 Thread Kevin Horn
On Thu, Mar 21, 2013 at 9:17 AM, Kevin Horn wrote: > tl;dr A Lore plugin won't work for generating Sphinx source files, at > least not by itself. > > Itamar posted some notes from the Twisted BoF session that was held at > PyCon last weekend, and one of the things in it was the following line: >

[Twisted-Python] Lore and generating reStructuredText (Lore2Sphinx)

2013-03-21 Thread Kevin Horn
tl;dr A Lore plugin won't work for generating Sphinx source files, at least not by itself. Itamar posted some notes from the Twisted BoF session that was held at PyCon last weekend, and one of the things in it was the following line: - lore output plugin that generates ReST via docutils parse tr