Permalink
Browse files

fixed all the L<text|link> links which I had mistakenly written as L<…

…link|text>. What a dozy twonk!

git-svn-id: svn://svn.tt2.org/tt/Template2/trunk@1089 d5a88997-0a34-4036-9ed2-92fb5d660d91
  • Loading branch information...
1 parent 539df6f commit c2ded69363f0b5c526f30ce05b1094d244630b5f @abw committed May 30, 2007
View
@@ -258,9 +258,7 @@ This generates an error message such as:
=head1 AUTHOR
-Andy Wardley E<lt>abw@wardley.orgE<gt>
-
-L<http://wardley.org/>
+Andy Wardley E<lt>abw@wardley.orgE<gt> L<http://wardley.org/>
=head1 COPYRIGHT
View
@@ -393,9 +393,7 @@ optional components of the Template Toolkit have not been installed.
=head1 AUTHOR
-Andy Wardley E<lt>abw@wardley.orgE<gt>
-
-L<http://wardley.org/>
+Andy Wardley E<lt>abw@wardley.orgE<gt> L<http://wardley.org/>
=head1 COPYRIGHT
@@ -238,9 +238,7 @@ The following tag sets and associated constants are defined:
=head1 AUTHOR
-Andy Wardley E<lt>abw@wardley.orgE<gt>
-
-L<http://wardley.org/>
+Andy Wardley E<lt>abw@wardley.orgE<gt> L<http://wardley.org/>
=head1 COPYRIGHT
View
@@ -951,7 +951,7 @@ plugins and filters, raise exceptions and so on.
A default C<Template::Context> object is created by the L<Template> module.
Any C<Template::Context> options may be passed to the L<Template>
-L<Template#new()|new()> constructor method and will be forwarded to the
+L<new()|Template#new()> constructor method and will be forwarded to the
C<Template::Context> constructor.
use Template;
@@ -976,7 +976,7 @@ instantiate.
});
A C<Template::Context> object (or subclass) can be explicitly instantiated and
-passed to the L<Template> L<Template#new()|new()> constructor method as the
+passed to the L<Template> L<new()|Template#new()> constructor method as the
C<CONTEXT> configuration item.
use Template;
@@ -986,11 +986,11 @@ C<CONTEXT> configuration item.
my $template = Template->new({ CONTEXT => $context });
The L<Template> module uses the L<Template::Config>
-L<Template::Config#context()|context()> factory method to create a default
+L<context()|Template::Config#context()> factory method to create a default
context object when required. The C<$Template::Config::CONTEXT> package
variable may be set to specify an alternate context module. This will be
loaded automatically and its L<new()> constructor method called by the
-L<Template::Config#context()|context()> factory method when a default context
+L<context()|Template::Config#context()> factory method when a default context
object is required.
use Template;
@@ -1020,7 +1020,7 @@ HASH reference or as a list of C<name =E<gt> value> pairs.
The C<new()> method returns a C<Template::Context> object or C<undef> on
error. In the latter case, a relevant error message can be retrieved by the
-L<Template::Base#error()|error()> class method or directly from the
+L<error()|Template::Base#error()> class method or directly from the
C<$Template::Context::ERROR> package variable.
my $context = Template::Context->new(\%config)
@@ -1034,7 +1034,7 @@ L<Template::Manual::Config> for further details.
=head3 VARIABLES
-The L<Template::Manual::Config#VARIABLES|VARIABLES> option can be used to
+The L<VARIABLES|Template::Manual::Config#VARIABLES> option can be used to
specify a hash array of template variables.
my $context = Template::Context->new({
@@ -1047,7 +1047,7 @@ specify a hash array of template variables.
=head3 BLOCKS
-The L<Template::Manual::Config#BLOCKS|BLOCKS> option can be used to pre-define
+The L<BLOCKS|Template::Manual::Config#BLOCKS> option can be used to pre-define
a default set of template blocks.
my $context = Template::Context->new({
@@ -1060,7 +1060,7 @@ a default set of template blocks.
=head3 TRIM
-The L<Template::Manual::Config#TRIM|TRIM> option can be set to have any
+The L<TRIM|Template::Manual::Config#TRIM> option can be set to have any
leading and trailing whitespace automatically removed from the output of all
template files and C<BLOCK>s.
@@ -1084,20 +1084,20 @@ output:
=head3 EVAL_PERL
-The L<Template::Manual::Config#EVAL_PERL|EVAL_PERL> is used to indicate if
+The L<EVAL_PERL|Template::Manual::Config#EVAL_PERL> is used to indicate if
C<PERL> and/or C<RAWPERL> blocks should be evaluated. It is disabled by
default.
=head3 RECURSION
-The L<Template::Manual::Config#RECURSION|RECURSION> can be set to
+The L<RECURSION|Template::Manual::Config#RECURSION> can be set to
allow templates to recursively process themselves, either directly
(e.g. template C<foo> calls C<INCLUDE foo>) or indirectly (e.g.
C<foo> calls C<INCLUDE bar> which calls C<INCLUDE foo>).
=head3 LOAD_TEMPLATES
-The L<Template::Manual::Config#LOAD_TEMPLATES|LOAD_TEMPLATES> option can be
+The L<LOAD_TEMPLATES|Template::Manual::Config#LOAD_TEMPLATES> option can be
used to provide a reference to a list of L<Template::Provider> objects or
sub-classes thereof which will take responsibility for loading and compiling
templates.
@@ -1111,7 +1111,7 @@ templates.
=head3 LOAD_PLUGINS
-The L<Template::Manual::Config#LOAD_PLUGINS|LOAD_PLUGINS> options can be used
+The L<LOAD_PLUGINS|Template::Manual::Config#LOAD_PLUGINS> options can be used
to specify a list of provider objects responsible for loading and
instantiating template plugin objects.
@@ -1124,7 +1124,7 @@ instantiating template plugin objects.
=head3 LOAD_FILTERS
-The L<Template::Manual::Config#LOAD_FILTERS|LOAD_FILTERS> option can be used
+The L<LOAD_FILTERS|Template::Manual::Config#LOAD_FILTERS> option can be used
to specify a list of provider objects for returning and/or creating filter
subroutines.
@@ -1137,7 +1137,7 @@ subroutines.
=head3 STASH
-The L<Template::Manual::Config#STASH|STASH> option can be used to
+The L<STASH|Template::Manual::Config#STASH> option can be used to
specify a L<Template::Stash> object or sub-class which will take
responsibility for managing template variables.
@@ -1148,7 +1148,7 @@ responsibility for managing template variables.
=head3 DEBUG
-The L<Template::Manual::Config#DEBUG|DEBUG> option can be used to enable
+The L<DEBUG|Template::Manual::Config#DEBUG> option can be used to enable
various debugging features of the L<Template::Context> module.
use Template::Constants qw( :debug );
@@ -1178,9 +1178,9 @@ C<eval> block and examining C<$@>.
Instantiates a plugin object by querying each of the L<LOAD_PLUGINS>
providers. The default L<LOAD_PLUGINS> provider is a L<Template::Plugins>
object which attempts to load plugin modules, according the various
-configuration items such as L<Template::Plugins#PLUGIN_BASE|PLUGIN_BASE>,
-L<Template::Plugins#LOAD_PERL|LOAD_PERL>, etc., and then instantiate an object
-via L<Template::Plugin#new()|new()>. A reference to a list of constructor
+configuration items such as L<PLUGIN_BASE|Template::Plugins#PLUGIN_BASE>,
+L<LOAD_PERL|Template::Plugins#LOAD_PERL>, etc., and then instantiate an object
+via L<new()|Template::Plugin#new()>. A reference to a list of constructor
arguments may be passed as the second parameter. These are forwarded to the
plugin constructor.
@@ -1271,12 +1271,12 @@ which is automatically compiled into a template sub-routine.
Returns a true value (the sub-routine or L<Template::Document> reference) on
success or undef on failure. The relevant error message can be retrieved by
-calling the L<Template::Base#error()|error()> method.
+calling the L<error()|Template::Base#error()> method.
=head2 define_filter($name, \&filter, $is_dynamic)
Adds a new filter definition by calling the
-L<Template::Filters#store()|store()> method on each of the L<LOAD_FILTERS>
+L<store()|Template::Filters#store()> method on each of the L<LOAD_FILTERS>
providers until accepted (in the usual case, this is accepted straight away by
the one and only L<Template::Filters> provider). The first argument should
contain the name of the filter and the second a reference to a filter
@@ -1327,9 +1327,7 @@ An C<AUTOLOAD> method provides access to context configuration items.
=head1 AUTHOR
-Andy Wardley E<lt>abw@wardley.orgE<gt>
-
-L<http://wardley.org/>
+Andy Wardley E<lt>abw@wardley.orgE<gt> L<http://wardley.org/>
=head1 COPYRIGHT
@@ -1011,9 +1011,7 @@ It is used internally by the L<Template::Parser> module.
=head1 AUTHOR
-Andy Wardley E<lt>abw@wardley.orgE<gt>
-
-L<http://wardley.org/>
+Andy Wardley E<lt>abw@wardley.orgE<gt> L<http://wardley.org/>
=head1 COPYRIGHT
View
@@ -369,11 +369,11 @@ The L<process()> method can then be called on the instantiated
C<Template::Document> object, passing a reference to a L<Template::Context>
object as the first parameter. This will install any locally defined blocks
(C<DEFBLOCKS>) in the C<BLOCKS> cache in the context (via a call to
-L<Template::Context#visit()|visit()>) so that they may be subsequently
+L<visit()|Template::Context#visit()>) so that they may be subsequently
resolved by the context. The main C<BLOCK> subroutine is then executed,
passing the context reference on as a parameter. The text returned from the
template subroutine is then returned by the L<process()> method, after calling
-the context L<Template::Context#leave()|leave()> method to permit cleanup and
+the context L<leave()|Template::Context#leave()> method to permit cleanup and
de-registration of named C<BLOCKS> previously installed.
An C<AUTOLOAD> method provides access to the C<METADATA> items for the
@@ -419,17 +419,17 @@ by the L<Template::Parser> module. These are evaluated into subroutine referenc
using C<eval()>.
Returns a new C<Template::Document> object or C<undef> on error. The
-L<Template::Base#error()|error()> class method can be called, or the C<$ERROR>
+L<error()|Template::Base#error()> class method can be called, or the C<$ERROR>
package variable inspected to retrieve the relevant error message.
=head2 process($context)
Main processing routine for the compiled template document. A reference to a
L<Template::Context> object should be passed as the first parameter. The
method installs any locally defined blocks via a call to the context
-L<Template::Context#visit()|visit()> method, processes its own template,
+L<visit()|Template::Context#visit()> method, processes its own template,
(passing the context reference as a parameter) and then calls
-L<Template::Context#leave()|leave()> in the context to allow cleanup.
+L<leave()|Template::Context#leave()> in the context to allow cleanup.
print $doc->process($context);
@@ -466,9 +466,7 @@ have persistence of compiled templates.
=head1 AUTHOR
-Andy Wardley E<lt>abw@wardley.orgE<gt>
-
-L<http://wardley.org/>
+Andy Wardley E<lt>abw@wardley.orgE<gt> L<http://wardley.org/>
=head1 COPYRIGHT
@@ -171,7 +171,7 @@ Exceptions can be raised in a template using the C<THROW> directive,
[% THROW user.login 'no user id: please login' %]
-or by calling the L<Template::Context#throw()|throw()> method on the current
+or by calling the L<throw()|Template::Context#throw()> method on the current
L<Template::Context> object,
$context->throw('user.passwd', 'Incorrect Password');
@@ -206,9 +206,7 @@ Returns the exception information.
=head1 AUTHOR
-Andy Wardley E<lt>abw@wardley.orgE<gt>
-
-L<http://wardley.org/>
+Andy Wardley E<lt>abw@wardley.orgE<gt> L<http://wardley.org/>
=head1 COPYRIGHT
View
@@ -13,22 +13,12 @@
#
# This module is free software; you can redistribute it and/or
# modify it under the same terms as Perl itself.
-#
-# REVISION
-# 2.68
-#
#========================================================================
#------------------------------------------------------------------------
-# IMPORTANT NOTE
-# This documentation is generated automatically from source
-# templates. Any changes you make here may be lost.
-#
-# The 'docsrc' documentation source bundle is available for download
-# from http://www.template-toolkit.org/docs.html and contains all
-# the source templates, XML files, scripts, etc., from which the
-# documentation for the Template Toolkit is built.
+# WARNING
+# This documentation hasn't been updated in ages...
#------------------------------------------------------------------------
=head1 NAME
@@ -37,9 +27,6 @@ Template::FAQ - Frequently Asked Questions about the Template Toolkit
=head1 DESCRIPTION
-
-
-
=head1 Template Toolkit Language
=head2 Why doesn't [% a = b IF c %] work as expected?
@@ -353,22 +340,11 @@ pretty much any kind of per-document initialisation that you require.
=head1 AUTHOR
-Andy Wardley E<lt>abw@wardley.orgE<gt>
-
-L<http://wardley.org/|http://wardley.org/>
-
-
-
-
-=head1 VERSION
-
-2.68, distributed as part of the
-Template Toolkit version 2.19, released on 27 April 2007.
+Andy Wardley E<lt>abw@wardley.orgE<gt> L<http://wardley.org/>
=head1 COPYRIGHT
- Copyright (C) 1996-2007 Andy Wardley. All Rights Reserved.
-
+Copyright (C) 1996-2007 Andy Wardley. All Rights Reserved.
This module is free software; you can redistribute it and/or
modify it under the same terms as Perl itself.
View
@@ -693,9 +693,9 @@ L<Template::Manual::Config> for further information about each option.
=head2 FILTERS
-The L<Template::Manual::Config#FILTERS|FILTERS> option can be used to specify
+The L<FILTERS|Template::Manual::Config#FILTERS> option can be used to specify
custom filters which can then be used with the
-L<Template::Manual::Directives#FILTER|FILTER> directive like any other. These
+L<FILTER|Template::Manual::Directives#FILTER> directive like any other. These
are added to the standard filters which are available by default.
$filters = Template::Filters->new({
@@ -707,13 +707,13 @@ are added to the standard filters which are available by default.
=head2 TOLERANT
-The L<Template::Manual::Config#TOLERANT|TOLERANT> flag can be set to indicate
+The L<TOLERANT|Template::Manual::Config#TOLERANT> flag can be set to indicate
that the C<Template::Filters> module should ignore any errors and instead
return C<STATUS_DECLINED>.
=head2 DEBUG
-The L<Template::Manual::Config#DEBUG|DEBUG> option can be used to enable
+The L<DEBUG|Template::Manual::Config#DEBUG> option can be used to enable
debugging messages for the Template::Filters module by setting it to include
the C<DEBUG_FILTERS> value.
View
@@ -6222,9 +6222,7 @@ modify the Template Toolkit language.
=head1 AUTHOR
-Andy Wardley E<lt>abw@wardley.orgE<gt>
-
-L<http://wardley.org/>
+Andy Wardley E<lt>abw@wardley.orgE<gt> L<http://wardley.org/>
=head1 COPYRIGHT
View
@@ -380,9 +380,7 @@ last item.
=head1 AUTHOR
-Andy Wardley E<lt>abw@wardley.orgE<gt>
-
-L<http://wardley.org/>
+Andy Wardley E<lt>abw@wardley.orgE<gt> L<http://wardley.org/>
=head1 COPYRIGHT
@@ -152,9 +152,7 @@ stash and returns it.
=head1 AUTHOR
-Andy Wardley E<lt>abw@wardley.orgE<gt>
-
-L<http://wardley.org/>
+Andy Wardley E<lt>abw@wardley.orgE<gt> L<http://wardley.org/>
=head1 COPYRIGHT
Oops, something went wrong.

0 comments on commit c2ded69

Please sign in to comment.