doc/user.rst: document include_optional directive

This commit is contained in:
Naglis Jonaitis 2020-08-08 16:21:05 +03:00
parent df1bf28caa
commit 08c70b0702
No known key found for this signature in database
GPG Key ID: 54DA26AC89685C57

View File

@ -219,6 +219,13 @@ another file; the given file name is relative to the current file:
include "other.conf"
You can use :code:`include_optional` instead if you want the included file
to be optional; the directive will be ignored if the file does not exist:
.. code-block:: none
include_optional "may_not_exist.conf"
Configuring the music directory
-------------------------------