Blog

  • 2024
  • 2023
  • 2022
  • 2021
  • 2020
  • 2019
  • 2018
  • 2017
  • 2016
  • 2015
  • 2014
  • 2013
  • 2012

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »




There are a couple of tools that allow to produce appealing API documentation with Javadoc.

The taglets library is one of them.



Using taglets


The taglets library has defined a couple of visually attractive taglets that allow to highlight important information within an API or even render Java source code (e.g. for example usage scenarios). Here is an example from the API documentation of one of our projects (it shows an element of an annotation):

Screenshot of a Javadoc report on an element of an annotation

Maven Configuration


To integrate this in your Maven build, use this configuration for the maven-javadoc-plugin:



org.apache.maven.plugins
maven-javadoc-plugin

...


net.sourceforge.taglets.Taglets

net.sourceforge.taglets
taglets
2.0.3



...




This snippet shows only the relevant part for the integration of the taglets library. The artifact can be found on our Nexus server.

References and other Resources




[ratings]


Link

Link

Posts

  • No labels