From a36426472bfdeced0fed8de2d16583b21e840746 Mon Sep 17 00:00:00 2001 From: wangchunsheng Date: Sat, 13 Nov 2010 05:47:07 +0000 Subject: [PATCH] * adjust the doc genarator. --- Makefile | 5 ++++- .doxygen => misc/doc/doxygen/doxygen.conf | 0 misc/doc/phpdoc/blank.tpl | 13 +++++++++++++ misc/doc/phpdoc/header.tpl | 11 +++++++++++ misc/doc/phpdoc/index.tpl | 23 +++++++++++++++++++++++ misc/doc/phpdoc/top_frame.tpl | 21 +++++++++++++++++++++ 6 files changed, 72 insertions(+), 1 deletion(-) rename .doxygen => misc/doc/doxygen/doxygen.conf (100%) create mode 100644 misc/doc/phpdoc/blank.tpl create mode 100644 misc/doc/phpdoc/header.tpl create mode 100644 misc/doc/phpdoc/index.tpl create mode 100644 misc/doc/phpdoc/top_frame.tpl diff --git a/Makefile b/Makefile index c788e3d399..6c90cee50c 100644 --- a/Makefile +++ b/Makefile @@ -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²Î¿¼ÊÖ²á -s on -pp on -i *test* phpdoc -d bin,framework,config,lib,module,www -t api.chm -o chm:default:default -ti ZenTaoPMSAPI²Î¿¼ÊÖ²á -s on -pp on -i *test* doxygen: - doxygen .doxygen + doxygen misc/doc/doxygen/doxygen.conf diff --git a/.doxygen b/misc/doc/doxygen/doxygen.conf similarity index 100% rename from .doxygen rename to misc/doc/doxygen/doxygen.conf diff --git a/misc/doc/phpdoc/blank.tpl b/misc/doc/phpdoc/blank.tpl new file mode 100644 index 0000000000..13b04d7481 --- /dev/null +++ b/misc/doc/phpdoc/blank.tpl @@ -0,0 +1,13 @@ + + + {$maintitle} + + + + +

{$maintitle}

+Welcome to {$package}!
+
+This documentation was generated by phpDocumentor v{$phpdocversion}
+ + diff --git a/misc/doc/phpdoc/header.tpl b/misc/doc/phpdoc/header.tpl new file mode 100644 index 0000000000..113367583b --- /dev/null +++ b/misc/doc/phpdoc/header.tpl @@ -0,0 +1,11 @@ + + + + + {$title} + + + + + {if $top3}
{/if} + diff --git a/misc/doc/phpdoc/index.tpl b/misc/doc/phpdoc/index.tpl new file mode 100644 index 0000000000..e70e7c14ff --- /dev/null +++ b/misc/doc/phpdoc/index.tpl @@ -0,0 +1,23 @@ + + + + + {$title} + + + + + + + + + + + <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> + + + diff --git a/misc/doc/phpdoc/top_frame.tpl b/misc/doc/phpdoc/top_frame.tpl new file mode 100644 index 0000000000..cfbb0604a6 --- /dev/null +++ b/misc/doc/phpdoc/top_frame.tpl @@ -0,0 +1,21 @@ + + + + +{$title} + + + + + +{if count($packages) > 1} +Packages + +{/if} +www.zentao.net + +