From 08c70b070294e2b9275458e864ccfccda4cb555e Mon Sep 17 00:00:00 2001 From: Naglis Jonaitis Date: Sat, 8 Aug 2020 16:21:05 +0300 Subject: [PATCH] doc/user.rst: document include_optional directive --- doc/user.rst | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/doc/user.rst b/doc/user.rst index ba5f06685..65467a00a 100644 --- a/doc/user.rst +++ b/doc/user.rst @@ -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 -------------------------------