Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I use the old javadoc style / theme with JDK 7?

Tags:

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?

like image 379
Kristopher Ives Avatar asked Aug 07 '12 05:08

Kristopher Ives


People also ask

What is javadoc style?

Javadoc (originally cased JavaDoc) is a documentation generator created by Sun Microsystems for the Java language (now owned by Oracle Corporation) for generating API documentation in HTML format from Java source code.

What does @SEE mean in javadoc?

We can use the @see and @link tag multiple times in a class, package, or method. The @see tag declares references that point to an external link, class, or method. The @link tag can also be used multiple times for declaring inline links or in contrast with other block tags.

How do I open a javadoc jar file?

To locate the Javadoc, browse to your User folder (on Windows 7 this is C:\Users\*Username*), then browse to sunspotfrcsdk/doc/javadoc. Double click on the index. html file to open it in your default webbrowser.


1 Answers

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

like image 191
Mark Bramnik Avatar answered Oct 05 '22 23:10

Mark Bramnik