Activate Sphinx' graphviz extension

This commit is contained in:
Stein Magnus Jodal 2010-02-28 14:04:50 +01:00
parent 1b9231d384
commit 3727ea214b
3 changed files with 5 additions and 3 deletions

View File

@ -25,7 +25,8 @@ import mopidy
# Add any Sphinx extension module names here, as strings. They can be extensions
# coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
extensions = ['sphinx.ext.autodoc', 'autodoc_private_members']
extensions = ['sphinx.ext.autodoc', 'autodoc_private_members',
'sphinx.ext.graphviz']
# Add any paths that contain templates here, relative to this directory.
templates_path = ['_templates']

View File

@ -86,11 +86,11 @@ from the documentation files, you need some additional dependencies.
You can either install them through Debian/Ubuntu package management::
sudo aptitude install python-sphinx
sudo aptitude install python-sphinx python-pygraphviz graphviz
Or, install them using pip::
sudo aptitude install python-pip python-setuptools
sudo aptitude install python-pip python-setuptools graphviz
sudo pip install -r requirements-docs.txt
Then, to generate docs::

View File

@ -1 +1,2 @@
Sphinx
pygraphviz