Guest User

Untitled

a guest
Dec 15th, 2017
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.59 KB | None | 0 0
  1. # Java documentation import
  2.  
  3. ## Information sources
  4.  
  5. - Java sources - contains docs. Need javadoc tool to extract them
  6. - Java stub sources - can extract API, does not contain documentation
  7. - DroidDoc - docs as is. Impossible to predict format changes. Needs horrible hack (scraping). And changes occur quite often
  8. - JavaDoc - docs as is. Third party libs could provide them. Format changes are predictable and not often, but matters and bites us. Needs horrible hack (scraping). They are often the only information sources.
  9.  
  10. ## Components where documentation matters
  11.  
  12. - Android framework stable API - sources are available (but often delayed), stubs are available, docs are not reliably available (DroidDoc, no docs component anymore)
  13. - Android framework preview API - no sources, stubs are available, docs are horrible (DroidDoc).
  14. - Android support components - sources are available, updates are very often.
  15. - Google Play Services components - no sources, updates are very often, docs are horrible (Google's own doclet). Docs are technically proprietary and cannot be imported.
  16. - Third-party libraries - only sources and standard Java doclets (6/7/8) can be supported.
  17.  
  18. ## What to do for documentation
  19.  
  20. - Android framework stable - export docs from sources. The exported docs should be Java8 (or Java9 if we switch).
  21. - Android framework preview - no need to support. We can reuse stable API docs.
  22. - Android support components - export docs from sources.
  23. - Google Play Services - we can't do anything. Or someone write JavaDocScraper for it.
  24. - Third-party libraries - only sources and standard Java doclets (6/7/8) can be supported.
Add Comment
Please, Sign In to add comment