Activate Sphinx' graphviz extension
This commit is contained in:
parent
1b9231d384
commit
3727ea214b
@ -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']
|
||||
|
||||
@ -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::
|
||||
|
||||
@ -1 +1,2 @@
|
||||
Sphinx
|
||||
pygraphviz
|
||||
|
||||
Loading…
Reference in New Issue
Block a user