On 2011-05-08, Tobi wrote:

> How hard would it be to extend docutils to support the Sphinx extensions
> by just "mocking" them?

This depends on the type but should not be too difficult.

* text roles can be defined in an to-be-included rst document or a
  Python wrapper.

* directives can be defined in a Python wrapper.

Providing ``rst2...-sphix.py`` frontends that define sensible fallbacks
for the Sphinx extensions and then call Docutils' publish_cmdline to
convert single rst files would be a nice tool for quick tests, too.

Günter

-- 
You received this message because you are subscribed to the Google Groups 
"sphinx-dev" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sphinx-dev?hl=en.

Reply via email to