forge
Explore
Log in

Don't you dare go Hollow

wiki: explicitly mention possible include methods

Browse files at this commit

e430d3ab2bb92a987dad2141a1dfed082875fd91UzlkavParent: e472b5b
docs/wiki/Configuration:-Include.mdmodified+6 -0
@@ -16,6 +16,12 @@ Settings from included files will be merged with the settings from the main conf
16 Included config files can in turn include more files.16 Included config files can in turn include more files.
17 All included files are watched for changes, and the config live-reloads when any of them change.17 All included files are watched for changes, and the config live-reloads when any of them change.
18 18
19+You can include by filename or path.
20+
21+* Relative to the current file: `other.kdl` or `./other.kdl`
22+* By absolute path: `/path/to/file.kdl`
23+* <sup>Since: next release</sup> Home dir paths: `~/file.kdl` expands to `/home/user/file.kdl`
24+
19 Includes work only at the top level of the config:25 Includes work only at the top level of the config:
20 26
21 ```kdl,must-fail27 ```kdl,must-fail