<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">
<channel>
<title><![CDATA[阿Tim日志]]></title> 
<link>https://atim.cn/index.php</link> 
<description><![CDATA[专业的php开发者.开发团队的带队人]]></description> 
<language>zh-cn</language> 
<copyright><![CDATA[阿Tim日志]]></copyright>
<item>
<link>https://atim.cn/post//</link>
<title><![CDATA[创建你的php代码手册-ApiGen]]></title> 
<author>bkkkd &lt;partybase@gmail.com&gt;</author>
<category><![CDATA[开发应用]]></category>
<pubDate>Fri, 18 Sep 2015 07:28:35 +0000</pubDate> 
<guid>https://atim.cn/post//</guid> 
<description>
<![CDATA[ 
	一直想弄一个手代码手册，以便快速更新手册。但苦于原来的phpdoc问题太多。就自己写了一个解析器（半成品）。还没有来得及写好模板。<br/><br/>今天在研究NetBeans的时候，发现原来有一个叫ApiGen的东西。可以帮助我们生成代码手册。而且质量还不错。<br/><br/>简单写一下教程：<br/>1,准备程序：<br/>* php运行环境（不是服务器哦是直接命令行的环境）<br/>* ApiGen (http://www.apigen.org/)<br/><br/>注：php环境要打开mb_string.dll哦<br/>2，执行命令<br/><div class="code">C:&#92;Users&#92;Administrator&gt;&quot;c:&#92;path&#92;to&#92;php.exe&quot; &quot;c:&#92;path&#92;to&#92;apigen.phar&quot; generate --source=&quot;c:&#92;path&#92;to&#92;phpfiles&quot;&nbsp;&nbsp; --destination=&quot;c:&#92;path&#92;to&#92;target&quot; </div><br/><br/><a href="https://atim.cn/attachment.php?fid=61" target="_blank"><img src="https://atim.cn/attachment.php?fid=61" class="insertimage" alt="点击在新窗口中浏览此图片" title="点击在新窗口中浏览此图片" border="0"/></a><br/>好了。这样就可以生把--source定义的目录，生成文档，存放到--destination定义的目录去。<br/>效果嘛<br/>看这里。<br/><a href="https://atim.cn/attachment.php?fid=62" target="_blank"><img src="https://atim.cn/attachment.php?fid=62" class="insertimage" alt="点击在新窗口中浏览此图片" title="点击在新窗口中浏览此图片" border="0"/></a><br/><br/>重点还是写好注释:<br/>http://phpdoc.org/docs/latest/references/phpdoc/index.html
]]>
</description>
</item><item>
<link>https://atim.cn/post//#blogcomment</link>
<title><![CDATA[[评论] 创建你的php代码手册-ApiGen]]></title> 
<author> &lt;user@domain.com&gt;</author>
<category><![CDATA[评论]]></category>
<pubDate>Thu, 01 Jan 1970 00:00:00 +0000</pubDate> 
<guid>https://atim.cn/post//#blogcomment</guid> 
<description>
<![CDATA[ 
	
]]>
</description>
</item>
</channel>
</rss>