From f7407b621399b3ff0e514f6656cd2a850c378a3b Mon Sep 17 00:00:00 2001 From: Stein Magnus Jodal Date: Sat, 11 Jan 2014 19:47:49 +0100 Subject: [PATCH] docs: Add mopidy.local.Library docs --- docs/ext/local.rst | 2 +- docs/modules/local.rst | 8 ++++++++ 2 files changed, 9 insertions(+), 1 deletion(-) create mode 100644 docs/modules/local.rst diff --git a/docs/ext/local.rst b/docs/ext/local.rst index c7d6487d..9fed4292 100644 --- a/docs/ext/local.rst +++ b/docs/ext/local.rst @@ -105,7 +105,7 @@ whatever the current active library is with data. Only one library may be active at a time. To create a new library provider you must create class that implements the -:class:`~mopidy.local.Library` interface and install it in the extension +:class:`mopidy.local.Library` interface and install it in the extension registry under ``local:library``. Any data that the library needs to store on disc should be stored in :confval:`local/data_dir` using the library name as part of the filename or directory to avoid any conflicts. diff --git a/docs/modules/local.rst b/docs/modules/local.rst new file mode 100644 index 00000000..0d7db26a --- /dev/null +++ b/docs/modules/local.rst @@ -0,0 +1,8 @@ +************************************ +:mod:`mopidy.local` -- Local backend +************************************ + +For details on how to use Mopidy's local backend, see :ref:`ext-local`. + +.. automodule:: mopidy.local + :synopsis: Local backend