doc: config file is now libervia.conf (even if sat.conf still works, for now)

This commit is contained in:
Goffi 2021-06-03 15:15:11 +02:00
commit 1ad8de5726
4 changed files with 9 additions and 9 deletions

View file

@ -63,7 +63,7 @@ then, create the directory ``~/.config/sat``::
$ mkdir -p ~/.config/sat
and the file ``~/.config/sat/sat.conf`` containing:
and the file ``~/.config/sat/libervia.conf`` containing:
.. sourcecode:: cfg

View file

@ -71,7 +71,7 @@ the metadata which contain things like title, comments infos, or tags.
For some common editors (like **vim** or **Emacs**), the editor will be automatially
opened using a split screen with *body* in one side, and metadata on the other. If the
editor is not supported or doesn't support split screen, you'll edit first the *body*, then
the *metadata*. You can also specify editor and arguments in ``sat.conf``, see
the *metadata*. You can also specify editor and arguments in ``libervia.conf``, see
`configuration <edit_conf_>`_ below
If you don't change anything or publish an empty blog post, the edition will be cancelled.
@ -179,7 +179,7 @@ editor
^^^^^^
Local editor used is by default the one set in ``$EDITOR`` environment variable, but you
can specify one in ``sat.conf``. To do so, you have to set the name of an editor
can specify one in ``libervia.conf``. To do so, you have to set the name of an editor
executable in the ``editor`` option in ``[li]`` section.
You can specify the args to use by using ``blog_editor_args`` option. Use
@ -205,7 +205,7 @@ modification is saved. In both cases you may use ``{url}`` to set the location o
This can be used to activate automatic refreshing of the page.
For **Konqueror**, you can use its D-Bus API to do refreshing. Ensure that ``qdbus`` is
installed on your system, and enter the following lines in your ``sat.conf``:
installed on your system, and enter the following lines in your ``libervia.conf``:
.. sourcecode:: cfg
@ -214,7 +214,7 @@ installed on your system, and enter the following lines in your ``sat.conf``:
blog_preview_update_cmd = /bin/sh -c "qdbus $(qdbus org.kde.konqueror\*) /konqueror/MainWindow_1 reload"
For **Firefox**, you may use ``xdotool`` on X11. Once you have installed this tool, enter the
following lines in your ``sat.conf``:
following lines in your ``libervia.conf``:
.. sourcecode:: cfg
@ -232,7 +232,7 @@ useful to activate the right syntax highlighting in your editor. There is a defa
mapping which can be overriden.
The mapping is set in the ``syntax_ext_dict`` option of the ``[li]`` section of your
``sat.conf`` file. For instance, if your prefer do your ``.markdown`` for temp files
``libervia.conf`` file. For instance, if your prefer do your ``.markdown`` for temp files
instead of the default ``.md``, you can use this:
.. sourcecode:: cfg

View file

@ -82,7 +82,7 @@ theme
=====
Show the colour constants in their respective colour, according to background (``light``
or ``dark``). If backround option is not set in ``sat.conf``, it will be autodetected, and
or ``dark``). If backround option is not set in ``libervia.conf``, it will be autodetected, and
colour theme will be modified accordingly.
example

View file

@ -38,7 +38,7 @@ Backend
=======
The backend is a daemon, that means that it's a service running in the background.
It takes its main configuration from a file named ``sat.conf`` and can be in different
It takes its main configuration from a file named ``libervia.conf`` and can be in different
locations (see below). It uses data in a directory called ``local_dir``, and which
default, on suitable platforms, to the corresponding `XDG directory`_, which is most of
time ``~/.local/share/sat``. In this directory, you'll find the main database in the
@ -212,7 +212,7 @@ Most of the frontends use images or other media. To avoid duplication and to mak
repositories lighter, those media are grouped in a separate repository. The Libervia media
repository is available at https://repos.goffi.org/sat_media. You can also download media
at https://ftp.goffi.org/sat_media/sat_media.tar.bz2. The path where Libervia media are
installed must be specified in ``sat.conf`` in ``media_dir`` option of the ``[DEFAULT``
installed must be specified in ``libervia.conf`` in ``media_dir`` option of the ``[DEFAULT``
section.
Libervia Templates