docs: Add inheritance diagrams to mixers

This commit is contained in:
Stein Magnus Jodal 2010-03-13 18:23:23 +01:00
parent 63cdcb5080
commit 397fdf90d2
2 changed files with 11 additions and 1 deletions

View File

@ -24,6 +24,8 @@ in the settings, Mopidy will choose one for you based upon what OS you run. See
:synopsis: ALSA mixer
:members:
.. inheritance-diagram:: mopidy.mixers.alsa.AlsaMixer
:mod:`mopidy.mixers.dummy` -- Dummy mixer
-----------------------------------------
@ -32,6 +34,8 @@ in the settings, Mopidy will choose one for you based upon what OS you run. See
:synopsis: Dummy mixer
:members:
.. inheritance-diagram:: mopidy.mixers.dummy
:mod:`mopidy.mixers.osa` -- Osa mixer
-------------------------------------
@ -40,6 +44,8 @@ in the settings, Mopidy will choose one for you based upon what OS you run. See
:synopsis: Osa mixer
:members:
.. inheritance-diagram:: mopidy.mixers.osa
External device mixers
======================
@ -58,6 +64,8 @@ required by the mixer you choose.
:synopsis: Denon amplifier mixer
:members:
.. inheritance-diagram:: mopidy.mixers.denon
:mod:`mopidy.mixers.nad` -- NAD amplifier mixer
-----------------------------------------------
@ -65,3 +73,5 @@ required by the mixer you choose.
.. automodule:: mopidy.mixers.nad
:synopsis: NAD amplifier mixer
:members:
.. inheritance-diagram:: mopidy.mixers.nad

View File

@ -26,7 +26,7 @@ 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',
'sphinx.ext.graphviz']
'sphinx.ext.graphviz', 'sphinx.ext.inheritance_diagram']
# Add any paths that contain templates here, relative to this directory.
templates_path = ['_templates']