1 Dec 2010 09:48
Re: Modify rst source on parsing
TiNo <tinodb <at> gmail.com>
2010-12-01 08:48:46 GMT
2010-12-01 08:48:46 GMT
On Tue, Nov 30, 2010 at 22:19, Aahz <aahz <at> pythoncraft.com> wrote:
> So my question is: Is it possible to extend docutils so that it modifies theYou can do it, but it's outside the bounds of what docutils supports.
> rst source after some processing? i.e. replace :todo:`fix the app > tino <
> tomorrow` with :todo_id:`6`?
Custom code can do anything.The hard part will be finding the
point in the document to update; IIRC there's experimental parse tree to
reST code.
Off course. As I understand it now, the biggest hurdle is the parse tree-to-rst writer. Do you recall where you saw this code? The closest thing I could find was pyth: https://github.com/brendonh/pyth/
Tino
------------------------------------------------------------------------------ Increase Visibility of Your 3D Game App & Earn a Chance To Win $500! Tap into the largest installed PC base & get more eyes on your game by optimizing for Intel(R) Graphics Technology. Get started today with the Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs. http://p.sf.net/sfu/intelisp-dev2dev
------------------------------------------------------------------------------ Increase Visibility of Your 3D Game App & Earn a Chance To Win $500! Tap into the largest installed PC base & get more eyes on your game by optimizing for Intel(R) Graphics Technology. Get started today with the Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs. http://p.sf.net/sfu/intelisp-dev2dev
The hard part will be finding the
RSS Feed