summaryrefslogtreecommitdiff
path: root/buildscripts/chmbuilder
diff options
context:
space:
mode:
authorwei <>2007-01-06 00:00:57 +0000
committerwei <>2007-01-06 00:00:57 +0000
commitbde6488e19b9852011a657fda8aa39680d9c4a62 (patch)
tree4550e521558ddde1e4c42c9d992501beda48b489 /buildscripts/chmbuilder
parent6c2a7b9b5674c5c9f0c8e78e32531af43462638c (diff)
Update docs.
Diffstat (limited to 'buildscripts/chmbuilder')
-rw-r--r--buildscripts/chmbuilder/ChmQuickstartBuilder.php2
-rw-r--r--buildscripts/chmbuilder/build.php12
2 files changed, 7 insertions, 7 deletions
diff --git a/buildscripts/chmbuilder/ChmQuickstartBuilder.php b/buildscripts/chmbuilder/ChmQuickstartBuilder.php
index 7a954d4a..2b5796fd 100644
--- a/buildscripts/chmbuilder/ChmQuickstartBuilder.php
+++ b/buildscripts/chmbuilder/ChmQuickstartBuilder.php
@@ -86,7 +86,7 @@ Copyright &copy; 2005-2006 <a href="http://www.pradosoft.com">PradoSoft</a>.</di
$html = preg_replace_callback('/(?<=RunButton" )href=".*\?page=([a-zA-Z0-9\.#]+)"/',
array($this, 'update_run_url'), $html);
- $html = preg_replace('/(src|href)="\//', 'src="assets/',$html);
+ $html = preg_replace('/(src|href)=("?)\//', '$1=$2assets/',$html);
$html = str_replace('http://www.pradosoft.com/docs/manual', '../manual/CHMdefaultConverter', $html);
$html = str_replace('target="_blank">View Source', '>View Source', $html);
$html = preg_replace_callback('/href="\?page=ViewSource&(amp;){0,1}path=([a-zA-z0-9\.\/]+)"/',
diff --git a/buildscripts/chmbuilder/build.php b/buildscripts/chmbuilder/build.php
index 6c352964..7873c23a 100644
--- a/buildscripts/chmbuilder/build.php
+++ b/buildscripts/chmbuilder/build.php
@@ -15,7 +15,7 @@ if(!isset($isChild))
$toc_file = $base.'/controls/TopicList.tpl';
-$pages = include($ROOT.'/../texbuilder/pages.php');
+$pages = include($ROOT.'/../texbuilder/quickstart/pages.php');
include($ROOT.'/ChmQuickstartBuilder.php');
include($ROOT.'/../../framework/PradoBase.php');
@@ -53,8 +53,8 @@ else
$pages['Control Reference : Standard Controls'][] = 'Controls/Standard.page';
- $quickstart= new ChmQuickstartBuilder($base,$output_dir);
- $quickstart->buildDoc($pages);
+// $quickstart= new ChmQuickstartBuilder($base,$output_dir);
+// $quickstart->buildDoc($pages);
//move class data to protected data directory for prado app.
$classFile = $ROOT.'/classes/Data/classes.data';
@@ -65,13 +65,13 @@ else
$classBuilder = new ClassDocBuilder($classDocBase,$output_dir);
//use child process to build doc, otherwise it consumes too much memory
- $child_builder = realpath($ROOT.'/build_child.php');
+/* $child_builder = realpath($ROOT.'/build_child.php');
foreach($classes as $class =>$data)
{
passthru('php '.$child_builder.' '.$class);
}
-
- $classBuilder->parseBasePage();
+*/
+// $classBuilder->parseBasePage();
$toc = new HTMLHelpTOCBuilder();
$toc->buildToc($toc_file,$output_dir,array_keys($classes));