* adjust the doc genarator.

This commit is contained in:
wangchunsheng
2010-11-13 05:47:07 +00:00
parent 395b7021bc
commit a36426472b
6 changed files with 72 additions and 1 deletions

View File

@@ -39,8 +39,11 @@ tgz:
rm -fr zentaopms/www/bugfree
zip -r -9 ZenTaoPMS.$(VERSION).zip zentaopms
rm -fr zentaopms
patchphpdoc:
sudo cp misc/doc/phpdoc/*.tpl /usr/share/php/data/PhpDocumentor/phpDocumentor/Converters/HTML/frames/templates/phphtmllib/templates/
phpdoc:
phpdoc -d bin,framework,config,lib,module,www -t api -o HTML:frames:phphtmllib -ti ZenTaoPMSAPI<50>ο<EFBFBD><CEBF>ֲ<EFBFBD> -s on -pp on -i *test*
phpdoc -d bin,framework,config,lib,module,www -t api.chm -o chm:default:default -ti ZenTaoPMSAPI<50>ο<EFBFBD><CEBF>ֲ<EFBFBD> -s on -pp on -i *test*
doxygen:
doxygen .doxygen
doxygen misc/doc/doxygen/doxygen.conf

13
misc/doc/phpdoc/blank.tpl Normal file
View File

@@ -0,0 +1,13 @@
<html>
<head>
<title>{$maintitle}</title>
<link rel="stylesheet" href="{$subdir}media/stylesheet.css" />
<meta http-equiv='Content-Type' content='text/html; charset=gbk'/>
</head>
<body>
<div align="center"><h1>{$maintitle}</h1></div>
<b>Welcome to {$package}!</b><br />
<br />
This documentation was generated by <a href="{$phpdocwebsite}">phpDocumentor v{$phpdocversion}</a><br />
</body>
</html>

View File

@@ -0,0 +1,11 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<!-- template designed by Marco Von Ballmoos -->
<title>{$title}</title>
<link rel="stylesheet" href="{$subdir}media/stylesheet.css" />
<meta http-equiv='Content-Type' content='text/html; charset=gbk'/>
</head>
<body>
{if $top3}<div class="page-body">{/if}

23
misc/doc/phpdoc/index.tpl Normal file
View File

@@ -0,0 +1,23 @@
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//FR"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<!-- Generated by phpDocumentor on {$date} -->
<title>{$title}</title>
<meta http-equiv='Content-Type' content='text/html; charset=gbk'/>
</head>
<FRAMESET rows='20,*'>
<FRAME src='packages.html' name='left_top' frameborder="no" border="1" framespacing="0">
<FRAMESET cols='200,*'>
<FRAME src='{$start}' name='left_bottom' frameborder="no" border="1" framespacing="0">
<FRAME src='{$blank}.html' name='right' frameborder="no" border="1" framespacing="0">
</FRAMESET>
<NOFRAMES>
<H2>Frame Alert</H2>
<P>This document is designed to be viewed using the frames feature.
If you see this message, you are using a non-frame-capable web client.</P>
</NOFRAMES>
</FRAMESET>
</HTML>

View File

@@ -0,0 +1,21 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<!-- template designed by Marco Von Ballmoos -->
<title>{$title}</title>
<link rel="stylesheet" href="{$subdir}media/stylesheet.css" />
<link rel="stylesheet" href="{$subdir}media/banner.css" />
<meta http-equiv='Content-Type' content='text/html; charset=gbk'/>
</head>
<body>
{if count($packages) > 1}
<span class="field">Packages</span>
<select class="package-selector" onchange="window.parent.left_bottom.location=this[selectedIndex].value">
{section name=p loop=$packages}
<option value="{$packages[p].link}">{$packages[p].title}</option>
{/section}
</select>
{/if}
<strong><a href="http://www.zentao.net" target="_blank">www.zentao.net</a></strong>
</body>
</html>