我正在使用aglio生成我的API文档。我目前正在根据规范编写原始标记。我想知道是否有一种方法可以通过代码中的注释直接生成减价。有人知道怎么做吗?
发布于 2014-05-16 00:29:32
发布于 2014-05-15 09:16:06
我不知道agilo,但其他替代解决方案是使用maven站点插件生成API文档。
<plugin>
<artifactId>maven-site-plugin</artifactId>
<groupId>org.apache.maven.plugins</groupId>
<version>${maven-site-plugin.version}</version>
<configuration>
<locales>en,fr</locales>
</configuration>
</plugin>您可以编写包含API细节的apt文件,然后可以运行maven来生成文档。这就产生了一个好医生。这是非常流行和许多人在工业中广泛使用。
关于http://maven.apache.org/plugins/maven-site-plugin/examples/creating-content.html的更多细节
https://stackoverflow.com/questions/23662910
复制相似问题