]> git.uio.no Git - usit-rt.git/blobdiff - lib/RT/Pod/HTML.pm
Upgrade to 4.2.8
[usit-rt.git] / lib / RT / Pod / HTML.pm
index 4cde8d6d0d710690e07ccb441a4721f5e79cc949..c44a50f036112d6fb0dd09019dd8a1306ba53026 100644 (file)
@@ -2,7 +2,7 @@
 #
 # COPYRIGHT:
 #
-# This software is Copyright (c) 1996-2013 Best Practical Solutions, LLC
+# This software is Copyright (c) 1996-2014 Best Practical Solutions, LLC
 #                                          <sales@bestpractical.com>
 #
 # (Except where explicitly superseded by other copyright notices)
@@ -141,6 +141,16 @@ sub resolve_local_link {
         $name  = "$1_Config";
         $local = "$1_Config";
     }
+    elsif ($name eq 'README') {
+        # We process README separately in devel/tools/rt-static-docs
+        $local = $name;
+    }
+    elsif ($name =~ /^UPGRADING.*/) {
+        # If an UPGRADING file is referred to anywhere else (such as
+        # templates.pod) we won't have seen UPGRADING yet and will treat
+        # it as a non-local file.
+        $local = $name;
+    }
     # These matches handle links that look like filenames, such as those we
     # parse out of F<> tags.
     elsif (   $name =~ m{^(?:lib/)(RT/[\w/]+?)\.pm$}