[Rt-commit] rt branch, 4.0/static-docs, updated. rt-4.0.6-327-gc9e0c0f

Thomas Sibley trs at bestpractical.com
Thu Sep 6 13:23:18 EDT 2012


The branch, 4.0/static-docs has been updated
       via  c9e0c0fc6bb3923dfd824febe2b63e6d160d0046 (commit)
      from  6d99f8123222f343da681e58fff65c90b5118379 (commit)

Summary of changes:
 devel/tools/rt-static-docs | 1 +
 lib/RT/Pod/HTMLBatch.pm    | 1 +
 2 files changed, 2 insertions(+)

- Log -----------------------------------------------------------------
commit c9e0c0fc6bb3923dfd824febe2b63e6d160d0046
Author: Thomas Sibley <trs at bestpractical.com>
Date:   Thu Sep 6 10:22:01 2012 -0700

    Generate docs for utilities in devel/tools/
    
    Sort them at the end of the TOC, however, as they're generally not tools
    anyone outside of BPS uses.  rt-attributes-editor might be the
    exception.

diff --git a/devel/tools/rt-static-docs b/devel/tools/rt-static-docs
index 5d263af..ef84ce7 100755
--- a/devel/tools/rt-static-docs
+++ b/devel/tools/rt-static-docs
@@ -85,6 +85,7 @@ my @dirs = (qw(
     lib
     bin
     sbin
+    devel/tools
     local/lib
     local/sbin
     local/bin
diff --git a/lib/RT/Pod/HTMLBatch.pm b/lib/RT/Pod/HTMLBatch.pm
index 9b70110..426addc 100644
--- a/lib/RT/Pod/HTMLBatch.pm
+++ b/lib/RT/Pod/HTMLBatch.pm
@@ -53,6 +53,7 @@ sub write_contents_file {
                       $name   =~ /^RT(::|$)/            ? '07 Developer Documentation' :
                       $name   =~ /^(README|UPGRADING)/  ? '00 Install and Upgrade '.
                                                              'Documentation'           :
+                      $infile =~ m{/devel/tools/}       ? '20 Utilities (devel/tools)' :
                                                           '06 Miscellaneous'           ;
 
         if ($section =~ /User/) {

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


More information about the Rt-commit mailing list