diff --git a/Changes b/Changes index 578e39a8c..d6ed34817 100644 --- a/Changes +++ b/Changes @@ -13,6 +13,7 @@ [ DOCUMENTATION ] * GH #1657: Fix the Dancer2::DeprecationPolicy abstract (Jason A. Crome) * GH #1661: Add 'gen' command to 'dancer2' runs (Steve Bertrand) + * PR #1671: Fix broken links in POD; avoid passive voice (Tom Hukins) 0.400000 2022-03-13 22:16:13-04:00 America/New_York diff --git a/lib/Dancer2/Manual.pod b/lib/Dancer2/Manual.pod index a6d10b81e..11a9eff7a 100644 --- a/lib/Dancer2/Manual.pod +++ b/lib/Dancer2/Manual.pod @@ -187,8 +187,8 @@ requests. =head2 Route Handlers The route action is the code reference declared. It can access parameters -through the specific L, -L, and L +through the specific L, +L, and L keywords, which return a L object. This hashref is a merge of the route pattern matches and the request params. @@ -521,7 +521,7 @@ This is done with the B keyword, like in the following example Hooks are code references (or anonymous subroutines) that are triggered at specific moments during the resolution of a request. They are set up using the -L keyword. +L keyword. Many of them are provided by Dancer2's core, but plugins and engines can also define their own. @@ -534,7 +534,7 @@ C hooks are evaluated before each request within the context of the request and receives as argument the app (a L object). It's possible to define variables which will be accessible in the action -blocks with the L. +blocks with the L. hook before => sub { var note => 'Hi there'; diff --git a/lib/Dancer2/Manual/Keywords.pod b/lib/Dancer2/Manual/Keywords.pod index c31807186..bd1c9a920 100644 --- a/lib/Dancer2/Manual/Keywords.pod +++ b/lib/Dancer2/Manual/Keywords.pod @@ -158,15 +158,15 @@ it is easier to change the C setting instead. =head2 context -Deprecated. Use L instead. +Deprecated. Use L instead. =head2 dance -Alias for the C keyword. L is preferable. +Alias for the C keyword. L is preferable. =head2 dancer_app -Returns the app object. See L. +Returns the app object. See L. =head2 dancer_version @@ -252,7 +252,7 @@ Constant that returns a false value (0). =head2 flush -Flush headers when streaming a response. Necessary when L is called +Flush headers when streaming a response. Necessary when L is called multiple times. =head2 forward @@ -375,11 +375,11 @@ Hence, it's not necessary anymore to use C with halt. =head2 header -Deprecated. Use L instead. +Deprecated. Use L instead. =head2 headers -Deprecated. Use L instead. +Deprecated. Use L instead. =head2 hook @@ -393,7 +393,7 @@ Adds a hook at some position. For example : There can be multiple hooks assigned to a given position, and each will be executed in order. -See the L section for a list of available hooks. +See L for a list of available hooks. =head2 info @@ -601,8 +601,8 @@ argument. If you close over it, you B have a memory leak. =head2 psgi_app -Provides the same functionality as L but uses the deprecated -Dispatcher engine. You should use L instead. +Provides the same functionality as L but uses the deprecated +Dispatcher engine. You should use L instead. =head2 push_header @@ -957,7 +957,7 @@ choices). This keyword should be called at the very end of the script, once all routes are defined. At this point, Dancer2 takes over. -L is preferable to L or C. +Prefer L instead of C. =head2 status