Search code examples
javahyperlinkjavadocdocumentation-generation

Is it possible to generate JAVA doc with source inside the document as well?


By default, Javadoc does not put source in its generated html files.

I would like to know whether is it possible to put the source file inside, or hyperlinked?


Solution

  • If you are using the javadoc tool, it has a -linksource option that seems to do what you want.