Thanks for your answer. I installed graphviz on Windows and added this to 
my path:

"C:\Program Files (x86)\Graphviz2.38\bin"

In conf.py I have:

extensions = [
    'sphinx.ext.autodoc',
    'sphinx.ext.todo',
    'sphinx.ext.viewcode',
    'sphinx.ext.napoleon',
    'sphinx.ext.graphviz'
]

but when I generate my html I get:

pickling environment... done
checking consistency... done
preparing documents... done
WARNING: dot command 'dot' cannot be run (needed for graphviz output), 
check the graphviz_dot setting

and no graphviz diagram appears.

How can I fix that warning please?

Best regards

David


On Saturday, September 19, 2015 at 5:19:55 AM UTC+1, adball wrote:
>
> Nope. You would just install Graphviz following the instructions on its 
> website. There appears to be a Windows installer. 
> On Sep 18, 2015 9:23 AM, "DavidA" <[email protected] <javascript:>> 
> wrote:
>
>> Hi, 
>>
>> I am fairly new to Sphinx. I have autogenerated docs from my Python 
>> docstrings and now want to add a diagram using graphviz. 
>>
>> This is what I've done so far:
>>
>> http://pastebin.com/xngkszFq 
>>
>> I'm working on Windows. Do I need to install graphviz using pip?
>>
>> Best regards
>>
>> David
>>
>> -- 
>> 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] <javascript:>.
>> To post to this group, send email to [email protected] 
>> <javascript:>.
>> Visit this group at http://groups.google.com/group/sphinx-users.
>> For more options, visit https://groups.google.com/d/optout.
>>
>

-- 
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