docs: Add section on changing settings

This commit is contained in:
Stein Magnus Jodal 2010-03-13 21:20:35 +01:00
parent c6964f9307
commit cf1e5ff4ba
2 changed files with 24 additions and 5 deletions

View File

@ -1,6 +1,25 @@
******************************************
:mod:`mopidy.settings.default` -- Settings
******************************************
**********************
:mod:`mopidy.settings`
**********************
Changing settings
=================
For any Mopidy installation you will need to change at least a couple of
settings. To do this, create a new file in the ``mopidy/settings/`` directory
named ``local.py`` and add settings you need to change from their defaults
there.
A complete ``mopidy/settings/local.py`` may look like this::
MPD_SERVER_HOSTNAME = u'0.0.0.0'
SPOTIFY_USERNAME = u'alice'
SPOTIFY_USERNAME = u'mysecret'
Available settings
==================
.. automodule:: mopidy.settings.default
:synopsis: Available settings and their default values.

View File

@ -3,8 +3,8 @@ Available settings and their default values.
.. warning::
Do *not* change settings here. Instead, add a file called
``mopidy/settings/local.py`` and redefine settings there.
Do *not* change settings in ``mopidy/settings/default.py``. Instead, add a
file called ``mopidy/settings/local.py`` and redefine settings there.
"""
import sys