comparison doc/html/guide/03-config-format/02-include.md @ 0:1158cffe5a5e

Initial import
author David Demelier <markand@malikania.fr>
date Mon, 08 Feb 2016 16:43:14 +0100
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:1158cffe5a5e
1 ## The @include statement
2
3 Irccd adds an extension to this format by adding an `@include` keyword which let you splitting your configuration file.
4
5 <div class="alert alert-info" role="alert">
6 **Note:** this `@include` statement must be at the beginning of the file and must be surrounded by quotes if the file
7 name has spaces.
8 </div>
9
10 You can use both relative or absolute paths. If relative paths are used, they are relative to the current file being
11 parsed.
12
13 ### Example
14
15 ````ini
16 @include "rules.conf"
17 @include "servers.conf"
18
19 [mysection]
20 myoption = "1"
21 ````