From bda08fff53cc1bf909425b7cf982d80b766643be Mon Sep 17 00:00:00 2001 From: xue <> Date: Sat, 15 Apr 2006 01:07:20 +0000 Subject: Fixed a few problems with the build script. --- buildscripts/texbuilder/build.php | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'buildscripts') diff --git a/buildscripts/texbuilder/build.php b/buildscripts/texbuilder/build.php index d1d6cac5..7395406c 100644 --- a/buildscripts/texbuilder/build.php +++ b/buildscripts/texbuilder/build.php @@ -202,6 +202,7 @@ function parse_html($page,$html) $html = preg_replace('/<\/com:TTextHighlighter>/', '`2`', $html); $html = preg_replace_callback('/(`1`)([^`]*)(`2`)/m', 'escape_verbatim', $html); $html = preg_replace_callback('/(
)([^<]*)(<\/div>)/', 'escape_verbatim', $html); + $html = preg_replace_callback('/(
)([^<]*)(<\/pre>)/', 'escape_verbatim', $html);
 
 	//
 	$html = preg_replace_callback('/([^<]*)<\/code>/', 'escape_verb', $html);
@@ -210,7 +211,11 @@ function parse_html($page,$html)
 
 	//runbar
 	$html = preg_replace('//',
-			'Try, \href{http://www.pradosoft.com/demos/quickstart/index.php?page=$1}{$1}', $html);
+			'\href{http://www.pradosoft.com/demos/quickstart/index.php?page=$1}{$1 Demo}', $html);
+
+	//DocLink
+	$html = preg_replace('//',
+                        '\href{http://www.pradosoft.com/docs/manual/$1/$2.html}{$1.$2 API Reference}', $html);
 
 	//text modifiers
 	$html = preg_replace('/([^<]*)<\/b>/', '\textbf{$1}', $html);
-- 
cgit v1.2.3