pod2html does not emit INDEX
authorAndrew DeFaria <Andrew@DeFaria.com>
Tue, 25 Oct 2016 17:07:40 +0000 (10:07 -0700)
committerAndrew DeFaria <Andrew@DeFaria.com>
Tue, 25 Oct 2016 17:07:40 +0000 (10:07 -0700)
web/php/clearscm.php

index aef2a4b..068e46f 100644 (file)
@@ -301,15 +301,6 @@ function scm_man ($file) {
   while (!feof ($stdout)) {
     $line = fgets ($stdout);
 
-    if (preg_match ("/<!-- INDEX END -->/", $line)) {
-      $end_of_index = 1;
-      continue;
-    }
-
-    if (!$end_of_index) {
-      continue;
-    } // if
-
     // Filter some CVS keywords properly
     $line = preg_replace ("/\\\$Revision\:\s*(\S*)\s*\\\$/",
                          "Revision <a href=\"$history\">$1</a>",