Hi Justin,

On 29/03/2010 21:43, Justin Rosen wrote:
I was wondering what type of editor everyone uses for editing Sphinx rst files. I've spent a great deal of time perusing the internet finding a ton of different things including some WYSIWYG editors.

I've just recently come across a plugin for gedit on linux. http://textmethod.com/wiki/ReStructuredTextToolsForGedit

This comes with a preview window which uses docutils to generate it's output. This works great, except that it doesn't like the sphinx directives.

It looks like the plugin boils down to this single line

from docutils.core import publish_string
html =  publish_string(text, writer_name='html')

Is there similar code for using sphinx?

import sphinx
html = sphin.FUNCTION(text, ...)

I use UliPad, but it has the same limitations - it would be nice if there is a way to preview a single .rst file - with Sphinx directives also working, but I don't think there is such a "build" command in Sphinx at this time - would be very happy if someone would correct me on this.

Werner

--
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