如何使用JDK 7的旧的javadoc样式/主题? [英] How do I use the old javadoc style / theme with JDK 7?

查看:107
本文介绍了如何使用JDK 7的旧的javadoc样式/主题?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

对于javadoc,JDK 7中的新主题很难让我阅读。它可能不漂亮,但我真的会喜欢旧的主题。除了安装旧的JDK并在他们之间切换,我可以用某种方式使用旧的doclet吗?

解决方案

不得不承认我没有t经历了这个,但是我发现你可以自定义java文档的CSS。 这里是说明。



您可能有兴趣运行此操作:

  C:> javadoc -stylesheetfile C:\user\exampleStylesheet.css com.examplePackage 

它也说明了它创建'stylesheet.css'文件,所以你应该看到它的外观和什么可以覆盖那里。



希望这有助于


The new theme in JDK 7 for javadoc is hard for me to read. It may not be pretty but I really would prefer the old theme. Aside from installing the old JDK and switching between them, can I somehow use the old doclet?

解决方案

Have to admit I haven't experienced this yet, but I've found that you can customize the CSS for the java doc. Here is the description.

You might be interested in running this:

C:> javadoc -stylesheetfile C:\user\exampleStylesheet.css com.examplePackage

Its also stated there that it creates 'stylesheet.css' file so you should see how it looks like and what can be overridden there.

Hope this helps

这篇关于如何使用JDK 7的旧的javadoc样式/主题?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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