自定义 index.html javadoc 页面? [英] Custom index.html javadoc page?

查看:41
本文介绍了自定义 index.html javadoc 页面?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在运行带有 ant 任务的 javadoc:

I am running javadoc with ant task:

<target name="javadoc"  description="create javadoc">
    <delete dir="javadoc" />
    <mkdir dir="javadoc" />
    <javadoc destdir="javadoc">
        <fileset dir="src/main/java" includes="sk/**" />
    </javadoc>
</target>

我想更改默认的 index.html 页面以提供简短的用户指南.我可以改变 index.html 将它复制到其他地方并在 javadoc 的 ant 任务完成后重写它,但这似乎有点愚蠢.有没有更常见的方法来实现呢?谢谢

I'd like to change default index.html page for providing short user guide. I can alter index.html copy it to other place and rewrite it after ant task for javadoc is complete, but that seems little stupid. Is there more common way to achieve so? Thanks

推荐答案

您正在寻找 javadoc 的 -overview 选项.请参阅 http://docs.oracle.com/javase/6/docs/technotes/tools/windows/javadoc.html#overviewcomment 了解详情.

You're looking for the -overview option of javadoc. See http://docs.oracle.com/javase/6/docs/technotes/tools/windows/javadoc.html#overviewcomment for details.

这篇关于自定义 index.html javadoc 页面?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆