Skip to content

Commit

Permalink
document all default values for plugin options
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed Aug 31, 2012
1 parent 1fdfacf commit 241d3e3
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion lib/Mojolicious/Plugin/EPRenderer.pm
Expand Up @@ -97,7 +97,7 @@ L<Mojolicious::Plugin::EPRenderer> supports the following options.
# Mojolicious::Lite
plugin EPRenderer => {name => 'foo'};
Handler name.
Handler name, defaults to C<ep>.
=head2 C<template>
Expand Down
7 changes: 4 additions & 3 deletions lib/Mojolicious/Plugin/PODRenderer.pm
Expand Up @@ -174,21 +174,22 @@ L<Mojolicious::Plugin::PODRenderer> supports the following options.
# Mojolicious::Lite
plugin PODRenderer => {name => 'foo'};
Handler name.
Handler name, defaults to C<pod>.
=head2 C<no_perldoc>
# Mojolicious::Lite
plugin PODRenderer => {no_perldoc => 1};
Disable perldoc browser.
Disable L<Mojolicious::Guides> documentation browser that will otherwise be
available under C</perldoc>.
=head2 C<preprocess>
# Mojolicious::Lite
plugin PODRenderer => {preprocess => 'epl'};
Name of handler used to preprocess POD.
Name of handler used to preprocess POD, defaults to C<ep>.
=head1 HELPERS
Expand Down
2 changes: 1 addition & 1 deletion lib/Mojolicious/Plugin/PoweredBy.pm
Expand Up @@ -40,7 +40,7 @@ L<Mojolicious::Plugin::PoweredBy> supports the following options.
plugin PoweredBy => (name => 'MyApp 1.0');
Value for C<X-Powered-By> header.
Value for C<X-Powered-By> header, defaults to C<Mojolicious (Perl)>.
=head1 METHODS
Expand Down

0 comments on commit 241d3e3

Please sign in to comment.