Is there a command line option to change the stylesheet file created by javadoc? I would like to use my own css file. The default blue one is boring. I tried a -stylesheet option, but it's not supported.
Yes, it's possible and actually quite straightforward. If you look for example at Mockito's javadoc:
If you are using Maven, you can do that by adding some config in the maven-javadoc-plugin:
In case you are using ant, there is a way to inject the parameter to the javadoc tool:
For more information, there are some discussion topics about that in stackoverflow: JavaDoc Style Sheets
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With