Hi,

On Wednesday, March 12, 2014 8:27:28 PM UTC+1, Robert Gomulka wrote:
>
> As asked on IRC channel:
> "I was trying to dynamically generate images to be included by Sphinx 
> Python code generator. So far I've found and utilized program-output, but 
> that seems ugly. Do you have any other ideas to do that?"
>
> So in my case it looks like:
>
> .. program-output::
>   :shell:
>     python one-script.py | graphviz -o x.png -T png
>
> .. image:: x.png
>
> Is there anything cleaner?
>

How about using the graphviz extension directly?

http://sphinx-doc.org/ext/graphviz.html

Lenz 

-- 
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.
For more options, visit https://groups.google.com/d/optout.

Reply via email to