[Rt-commit] rt branch, 4.0/extension-docs, updated. rt-4.0.13-92-gbf44191

Thomas Sibley trs at bestpractical.com
Mon Jul 1 20:15:31 EDT 2013


The branch, 4.0/extension-docs has been updated
       via  bf4419100d078f93a775360b6ebc3e3c8e218224 (commit)
      from  4fed245dfd1a1f7ae97d6f8cc94073f3a7778d38 (commit)

Summary of changes:
 lib/RT/Pod/HTML.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

- Log -----------------------------------------------------------------
commit bf4419100d078f93a775360b6ebc3e3c8e218224
Author: Thomas Sibley <trs at bestpractical.com>
Date:   Mon Jul 1 17:07:00 2013 -0700

    Any RT::Extension:: or RT::Authen:: docs we found during this batch _are_ local
    
    This also resolves
        L<Tutorial/Getting started>
    to
        Tutorial.html#Getting-started
    if a Tutorial.pod was found (such as in docs/).

diff --git a/lib/RT/Pod/HTML.pm b/lib/RT/Pod/HTML.pm
index 966c761..681db87 100644
--- a/lib/RT/Pod/HTML.pm
+++ b/lib/RT/Pod/HTML.pm
@@ -129,7 +129,7 @@ sub resolve_local_link {
         : '';
 
     my $local;
-    if ($name =~ /^RT(::(?!Extension::|Authen::)|$)/) {
+    if ($name =~ /^RT(::(?!Extension::|Authen::)|$)/ or $self->batch->found($name)) {
         $local = join "/",
                   map { $self->encode_entities($_) }
                 split /::/, $name;

-----------------------------------------------------------------------


More information about the Rt-commit mailing list