[Rt-commit] rt branch, 4.2/static-docs-readme-links-emails, created. rt-4.2.5-11-g7bbaaf9

Alex Vandiver alexmv at bestpractical.com
Tue Jul 1 14:12:03 EDT 2014


The branch, 4.2/static-docs-readme-links-emails has been created
        at  7bbaaf9d87a4defde81fdadea7d2084775c39f82 (commit)

- Log -----------------------------------------------------------------
commit 7bbaaf9d87a4defde81fdadea7d2084775c39f82
Author: Alex Vandiver <alexmv at bestpractical.com>
Date:   Thu Jun 12 18:01:42 2014 -0400

    Link basic links and emails from README

diff --git a/README b/README
index 4e71998..8c0b65d 100644
--- a/README
+++ b/README
@@ -28,7 +28,7 @@ o   A supported SQL database
 
 o   Apache version 1.3.x or 2.x (http://httpd.apache.org)
         with mod_perl -- (http://perl.apache.org)
-        or with FastCGI -- (www.fastcgi.com)
+        or with FastCGI -- (http://www.fastcgi.com)
         or other webserver with FastCGI support
 
         RT's FastCGI handler needs to access RT's configuration file.
diff --git a/devel/tools/rt-static-docs b/devel/tools/rt-static-docs
index 4242bee..cb6aacf 100755
--- a/devel/tools/rt-static-docs
+++ b/devel/tools/rt-static-docs
@@ -154,6 +154,10 @@ for my $file (<README* UPGRADING*>) {
 
     $str = "<pre>$str</pre>";
     $str =~ s{\bdocs/([a-z_-]+)\.pod\b}{<a href="$1.html">docs/$1.pod</a>}g;
+    $str =~ s{\betc/(RT_Config)\.pm\b}{<a href="$1.html">etc/$1.pm</a>}g;
+    $str =~ s{\betc/(UPRGADING\.mysql)\b}{<a href="$1.html">etc/$1</a>}g;
+    $str =~ s{\b(https?://(?!rt\.example\.com)[.a-z0-9/-]+(?<!\.))}{<a href="$1">$1</a>}g;
+    $str =~ s{\b([\w-]+\@(lists\.)?bestpractical.com)\b}{<a href="mailto:$1">$1</a>}g;
 
     open my $html, ">", $dest
         or warn "Can't open $dest: $!", next;

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


More information about the rt-commit mailing list