Skip to content
This repository
branch: master
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 51 lines (40 sloc) 1.248 kb
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
__NAME__ purpose
specify directory containing catalog pages
__END__


__NAME__ synopsis
<arg choice='plain'><replaceable>directory_name</replaceable></arg>
__END__


__NAME__ description
Specify the directory containing &glos-catalog; pages. The default for this
directive is <literal>pages</literal>.
</para><para>
Speaking of &glos-internationalization;, it can be useful to set this
directive to
different values, depending on current &glos-locale;.
__END__

__NAME__ notes
The specified location is always treated relative to &glos-CATROOT;.
__END__

__NAME__ example: Setting PageDir
<programlisting>
PageDir html
</programlisting>
__END__

__NAME__ example: Setting PageDir depending on current locale
To use a different page directory for different locales, say French and
English, help yourself with the robust &conf-Locale; directive:
<programlisting>
# Establish the default at startup
PageDir english

# Establish locale-dependent directories
Locale fr_FR PageDir francais
Locale en_US PageDir english
</programlisting>
To fully understand the example and implicitly presented &IC; features, make
sure you're familiar with &glos-internationalization; and &glos-locale;
glossary
entries.
__END__


__NAME__ see also
Locale
__END__
Something went wrong with that request. Please try again.