Hi, I'm using Sage, which you know now uses Sphinx. One aspect of Sage is its notebook interface: it can be run within a web browser. When you run Sage, you're running Python, and you can easily access docstrings interactively. I would like to use Sphinx to process those docstrings. So I won't be starting with a directory and various .rst files; instead, my input will be a string in ReST format (including substrings of the form `blah`, which ought to be formatted as mathematics: default_role = 'math' -- note that jsMath is installed), and I want my output to be, say, the body of the html document: something which I can just pass straight to the running web browser. I don't want to produce any files. Furthermore, since I'm already running Python with Sphinx installed, I don't want to run sphinx-build or any external program; I'm guessing that it would be faster just to call Python functions directly. So what should I do?
Thanks, John Palmieri --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
