How do I generate documentation for packages that contain a package.html file but no java files?
Technically, that’s currently not possible — however, there is a practical workaround, where you include a package-private “placeholder” class in that package. So long as you don’t use either the -private or -package option, the class will never appear in your documentation. /** * Exists only to enable package.html to be included in javadoc */ class Placeholder { } This is being tracked by Bug 4492654 We hope to remove this restriction.