8

I tried to generate Java-documentation using eclipse then previewed my JavaDocumenttation using the 'Preview attached JavaDoc in Browser' option.

All the auto generated android classes such as R.drawable are present. How can I remove them? Should I remove them?

enter image description here

Declan McKenna
  • 3,803
  • 6
  • 39
  • 67

1 Answers1

11

Within eclipse, when I click generate Javadoc, it brings up a wizard, with the option to select which classes/packages I want generated, from which I exclude gen (which contains the R.java)

enter image description here

As for whether or not you should, I would recommend excluding the entire gen package/source folder as it isn't really relevant info for anyone reading your documentation

JRaymond
  • 11,339
  • 5
  • 35
  • 39