/
ConfigDir
54 lines (42 loc) · 1.43 KB
/
ConfigDir
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
__NAME__ purpose
specify default "include" directory for "<file" notation
__END__
__NAME__ synopsis
<arg choice='plain'><replaceable>directory_name</replaceable></arg>
__END__
__NAME__ description
Specify the default "include" directory for files that are specified
using the <literal><filename</literal> notation and have a relative
pathname. See <xref linkend="ConfigDir_examples"/> for clarification.
__END__
TODO: in glos configuration, mention that directives are immediate-effect
so you can redefine them multiple times
TODO: show conditionals in config:
Variable TEMPLATE blue
ParseVariables Yes
ConfigDir templates/__TEMPLATE__
ParseVariables No
Variable MENUBAR <menubar
Variable LEFTSIDE <leftside
Variable BOTTOM <bottom
ConfigDir config
__NAME__ notes
See the &glos-configuration; glossary entry for complete information
on &IC; config file syntax.
</para><para>
Make sure you don't get confused by the existence of all
&conf-DirConfig;, &conf-ConfDir; and &conf-ConfigDir;.
__END__
__NAME__ example: Setting ConfigDir
<programlisting>
ConfigDir variables
</programlisting>
__END__
__NAME__ example: Setting directive value from a file
In combination with the above example, the following would read the
directive value from file <filename>variables/mailorderto</filename>
(relative to the &glos-CATROOT;, of course).
<programlisting>
MailOrderTo <mailorderto
</programlisting>
__END__