Epydoc documentation says that you can include a Graphviz diagram in your source code by means of the dotgraph
directive.
However, if try this:
#: .. dotgraph:: Test
#: graph name {
#: a -- b -- c;
#: b -- d;
#: }
What I get is simply an error saying Unknown directive type "dotgraph"
. I use the latest epydoc
(v3.0.1) and dot
is installed correctly in my system.
How can I make epydoc
produce the diagram?
Check the epydoc configuration file for the "dotpath:" variable. Make sure that this variable is set to your filesystem path to the dot executable.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.