30

Is there a JavaDoc style sheet? The default one is pretty ugly.

Peter Mortensen
  • 30,738
  • 21
  • 105
  • 131
Sheldon
  • 2,598
  • 10
  • 27
  • 36

3 Answers3

13

Red and black one here:

Get my Javadoc StyleSheet – Red N Black Theme

You also might want to take a look at doclet.com.

Peter Mortensen
  • 30,738
  • 21
  • 105
  • 131
Supertux
  • 8,088
  • 10
  • 42
  • 47
  • The link is dead, but I found it on archive.org: http://web.archive.org/web/20080926231305/http://applegrew.blogspot.com/2008/05/get-my-javadoc-stylesheet-red-n-black.html – pdinklag Aug 24 '11 at 15:51
  • Link has returned from the dead. – Breadbin Feb 05 '16 at 14:35
10

You can try Javadoc-Themer which allows you to generate your own style sheets with selected colors.

The code is open sourced on GitHub.

P.S: I am the developer of Javadoc-Themer

The web application can be found here.

Nishant Srivastava
  • 4,723
  • 2
  • 24
  • 35
  • Does Javadoc-Themer also offer Java 1.6 style? – Giorgio Feb 08 '18 at 12:07
  • @Giorgio Could you point me to one that shows that in use? When I built the tool I built it specifically for what was being generated for me by Android Studio at the time. If there are pre-existing other styles, I might be able to update the project for the same. – Nishant Srivastava Feb 09 '18 at 12:46
  • I meant this style: https://docs.oracle.com/javase/6/docs/api/, i.e. the original Javadoc style. – Giorgio Feb 09 '18 at 12:51
  • Got it. Short Answer: No. You can check what it can generate here https://javadoc-themer.firebaseapp.com/howto.html On a side note: Open an issue with the above link and your requirement here: https://github.com/nisrulz/javadoc-themer, so I can take it up sometime later. – Nishant Srivastava Feb 09 '18 at 12:55
  • 1
    Web app moved to https://nisrulz.com/javadoc-themer/ (tried editing, but queue is full) – Rautermann Aug 24 '22 at 13:25
  • 1
    Thank you @Rautermann. I have updated my answer with the new link. – Nishant Srivastava Oct 21 '22 at 11:35
7

For completeness:

Kenai's style sheet is public domain:

Peter Mortensen
  • 30,738
  • 21
  • 105
  • 131
AlexV
  • 544
  • 9
  • 19
  • 1
    JBoss license info found in comments for second link: "Update: Just had word via PM that Red Hat holds the copyright for the stylesheet and its related resources, it can't be redistributed. " – orcy Jul 10 '12 at 17:59
  • the Kenai link is dead once again as of 7-2017 – JesseBoyd Jul 14 '17 at 03:56