Mercurial > libervia-backend
diff doc/configuration.rst @ 3251:f21412896620
doc (config): fixed documentation about configuration file possible paths + minor corrections.
author | Goffi <goffi@goffi.org> |
---|---|
date | Tue, 14 Apr 2020 20:26:47 +0200 |
parents | d9f328374473 |
children | c80a0f864b5d |
line wrap: on
line diff
--- a/doc/configuration.rst Tue Apr 14 20:25:05 2020 +0200 +++ b/doc/configuration.rst Tue Apr 14 20:26:47 2020 +0200 @@ -8,12 +8,12 @@ by a ``.`` if you want to hide it on suitable platforms). It is a common file used both by backend and all frontends (and even related project like SàT Pubsub). -This file can located in the following paths (in order of parsing): +This file can be located in the following paths (in order of parsing): - ``/etc`` - ``~`` (``$HOME`` or your home directory) - - the directory where you are launching the backend or frontend from - XDG directory for configuration (most of time it is - ``~/.config/sat/sat.conf``) + ``~/.config/sat/``) + - the parent directory of SàT installation path If several configurations files are found, they are merged. In case of conflict, the option parsed last is the one used (in other words: if you have an option set in @@ -23,8 +23,8 @@ Format ====== -``sat.conf`` is a using the `INI`_ file format as understood by Python's -`SafeConfigParser`_ (meaning that you can use interpolation). +``sat.conf`` is using the `INI`_ file format as understood by Python's `SafeConfigParser`_ +(meaning that you can use interpolation). The ``DEFAULT`` section is used for global options, this is where you specify where are your media.