Changeset 1620 for trunk/buildscripts
- Timestamp:
- 01/14/2007 09:40:16 AM (23 months ago)
- Location:
- trunk/buildscripts
- Files:
-
- 3 modified
-
chmbuilder/ChmQuickstartBuilder.php (modified) (10 diffs)
-
chmbuilder/build.php (modified) (2 diffs)
-
classtree/build.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/buildscripts/chmbuilder/ChmQuickstartBuilder.php
r1598 r1620 55 55 $html = $this->parseHtmlContent($this->getApplicationContent()); 56 56 $file = str_replace(array('/','.page'), array('_','.html'),$page); 57 echo 'writing file '.$file."\n";57 // echo 'writing file '.$file."\n"; 58 58 file_put_contents($this->output_dir.'/'.$file, $html); 59 59 } … … 92 92 $html = preg_replace_callback('/href="\?page=ViewSource&(amp;){0,1}path=([a-zA-z0-9\.\/]+)"/', 93 93 array($this, 'update_source_url'), $html); 94 94 95 95 return $html; 96 96 } … … 100 100 $page = $matches[2]; 101 101 $file = str_replace('/', '_',$page).'.html'; 102 102 103 103 if(!isset($this->_viewed[$page])) 104 104 { … … 117 117 $html = $this->parseHtmlContent($this->getApplicationContent()); 118 118 $file = str_replace('/', '_',$page).'.html'; 119 echo 'writing file '.$file."\n";119 // echo 'writing file '.$file."\n"; 120 120 file_put_contents($this->output_dir.'/'.$file, $html); 121 121 } 122 122 123 123 protected function update_page_url($matches) 124 124 { … … 136 136 class HTMLHelpTOCBuilder 137 137 { 138 138 139 139 public function buildToc($file,$output,$classes) 140 140 { … … 166 166 foreach($classes as $class) 167 167 { 168 $ul['classes']['ul'][0]['params'][] = 168 $ul['classes']['ul'][0]['params'][] = 169 169 array('Name'=>$class, 'Local'=>'classdoc/'.$class.'.html'); 170 170 } … … 190 190 $content = <<<EOD 191 191 <!doctype html public "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> 192 192 193 193 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> 194 194 <head> … … 283 283 $version = Prado::getVersion(); 284 284 $ul['api']['params'][] = array('Name' => "Prado {$version} API Manual"); 285 285 286 286 return $ul; 287 287 } … … 397 397 $html = $this->parseHtmlContent($this->getApplicationContent()); 398 398 $file = 'Classes.html'; 399 echo 'writing file '.$file."\n";399 // echo 'writing file '.$file."\n"; 400 400 file_put_contents($this->output.'/'.$file, $html); 401 401 } … … 408 408 $html = $this->parseHtmlContent($this->getApplicationContent()); 409 409 $file = $class.'.html'; 410 echo 'writing file '.$file."\n";410 // echo 'writing file '.$file."\n"; 411 411 file_put_contents($this->output.'/'.$file, $html); 412 412 } -
trunk/buildscripts/chmbuilder/build.php
r1598 r1620 54 54 55 55 56 //$quickstart= new ChmQuickstartBuilder($base,$output_dir);57 //$quickstart->buildDoc($pages);56 $quickstart= new ChmQuickstartBuilder($base,$output_dir); 57 $quickstart->buildDoc($pages); 58 58 59 59 //move class data to protected data directory for prado app. … … 66 66 67 67 //use child process to build doc, otherwise it consumes too much memory 68 /*$child_builder = realpath($ROOT.'/build_child.php');68 $child_builder = realpath($ROOT.'/build_child.php'); 69 69 foreach($classes as $class =>$data) 70 70 { 71 71 passthru('php '.$child_builder.' '.$class); 72 72 } 73 */ 73 74 74 // $classBuilder->parseBasePage(); 75 75 -
trunk/buildscripts/classtree/build.php
r1616 r1620 10 10 11 11 $exclusions=array( 12 // 'prado.php',13 12 'pradolite.php', 14 // 'PradoBase.php',15 13 'prado-cli.php', 16 14 'clientscripts.php',
