On 12/12/2011 12:06 PM, sajuptpm wrote:
I created complete API documentation using sphinx.
Command i used are:
$ sphinx-apidoc -f -F -o . /home/sam/CMS
$ make html
Then i planned to add inheritance-diagram of classes, for that i
edited "provider.rst" file and added two new lines as shown below.
provider diagram
----------------
.. inheritance-diagram:: CMS.cloud.DbModel.CloudProvider
I am no Sphinx expert, but I try anyhow.
- did you add "sphinx.ext.inheritance_diagram" to your conf.py - extensions
- did you install graphviz
- see also at the end of:
http://sphinx.pocoo.org/ext/graphviz.html#module-sphinx.ext.graphviz
Werner
--
You received this message because you are subscribed to the Google Groups
"sphinx-dev" group.
To post to this group, send email to sphinx-dev@googlegroups.com.
To unsubscribe from this group, send email to
sphinx-dev+unsubscr...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/sphinx-dev?hl=en.