diff options
| author | Andreas Brachold <vdr07@deltab.de> | 2007-08-13 18:41:27 +0000 |
|---|---|---|
| committer | Andreas Brachold <vdr07@deltab.de> | 2007-08-13 18:41:27 +0000 |
| commit | bcbf441e09fb502cf64924ff2530fa144bdf52c5 (patch) | |
| tree | f377707a2dac078db8cd0c7d7abfe69ac1006d71 /doc/docu.tmpl | |
| download | xxv-bcbf441e09fb502cf64924ff2530fa144bdf52c5.tar.gz xxv-bcbf441e09fb502cf64924ff2530fa144bdf52c5.tar.bz2 | |
* Move files to trunk
Diffstat (limited to 'doc/docu.tmpl')
| -rw-r--r-- | doc/docu.tmpl | 99 |
1 files changed, 99 insertions, 0 deletions
diff --git a/doc/docu.tmpl b/doc/docu.tmpl new file mode 100644 index 0000000..aee6b15 --- /dev/null +++ b/doc/docu.tmpl @@ -0,0 +1,99 @@ +=head1 NAME + +<?% UNLESS Name == 'General' %?> +XXV::MODULES::<?% Name %?> +<?% ELSE %?> +<?% Name %?> +<?% END %?> + +<?% UNLESS Name == 'General' %?> +=head1 SYNOPSIS + + <?% + IF Name.match('NEWS::'); + MODUL = "XXV::OUTPUT::${Name}"; + ELSE; + MODUL = "XXV::MODULES::${Name}"; + END; + %?> + use <?% MODUL %?> + my $auto = <?% MODUL %?>->new( + -config => \$Config, + -dbh => \$DBH, + -realbin=> \$RealBin, + ); + +<?% ELSE %?> + ./bin/xxvd [--kill] [--configfile file] [--docu targetdir] + +<?% END %?> + +=head1 VERSION + +<?% Version %?> - <?% Date %?> + +=head1 DESCRIPTION + +<?% Description %?> + +=head1 CONFIGURATION + +=over 4 + +<?% FOREACH prefname = Preferences.keys.sort %?> + +=item <?% loop.count %?> <?% prefname %?> + +<?% Preferences.$prefname.description %?> + +=over 4 + +=item * default: <?% Preferences.$prefname.default %?> + +=item * type: <?% Preferences.$prefname.type %?> + +=item * required: <?% Preferences.$prefname.required ? "Yes" : "No" %?> + +=back + +<?% END %?> + +=back + +=head1 COMMANDS + +=over 4 + +<?% FOREACH cmdname = Commands.keys.sort %?> + +=item * <?% cmdname %?> (<?% Commands.$cmdname.short %?>) + +<?% Commands.$cmdname.description %?> + +<?% END %?> + +=back + +=head1 REQUIREMENTS + +=over 4 + +<?% FOREACH reqmod = Prereq.keys.sort %?> + +=item * <?% reqmod %?> + +<?% Prereq.$reqmod %?> + +<?% END %?> + +=back + +=head1 SEE ALSO + +XXV + +=head1 AUTHOR + +Copyright (C) <?% Date %?>, <?% Author %?>. All rights reserved. + +=cut |
