简体   繁体   中英

Javadoc layout changed with JDK8

Javadoc generated by the JDK8 is completely different compate to that of JDK7. In new Javadoc, header text is overlapping and layout completely messy. I understand after reading Oracle documentation that Doclet is reason for creating html view of Javadoc. Is there any way to use Doclet associated with JDK7 to generate the the Javadoc..?

If you are referring to the doclet, you can turn the doclet off by adding -Xdoclint:none to the command line call to javadoc

http://blog.joda.org/2014/02/turning-off-doclint-in-jdk-8-javadoc.html

If you just want the old CSS used in Java 7 this other Stack overflow question contains the css you can use instead:

JDK8: Getting back the JDK7 look for javadoc

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM