I'm using Sphinx to build documents (books of instructions for Scottish country dances, if you must know) with an application-specific domain containing a few custom directives and roles that I defined myself. They don't use hardcore Sphinx stuff like cross-referencing but mostly serve to provide semantic markup.
Now for a collaborative-editing project I'm writing a web frontend that will let people edit parts of these documents (instructions for individual dances). I would like to provide a near-WYSIWYG facility and for that I need a way to process the input with my custom Sphinx domain defined. At this point I'm not interested in re-generating the whole document tree; I just want the HTML output that directly corresponds to the ReST input that the user is editing. In other words, I could do what I want in pure ReST using the docutils.core.publish_parts function except that I get loads of error messages because docutils doesn't know about the directives and roles in my custom domain. I could probably get most of what I want by adding my customisations to docutils rather than Sphinx, but (a) at some stage I may want to use something Sphinx-specific in my domain, and (b) at some stage I may want to use other Sphinx domains from the third-party repository. What I'm really looking for is a Sphinx-based equivalent to publish_parts. Is there anything like that? -- You received this message because you are subscribed to the Google Groups "sphinx-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/sphinx-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
