Adding version information to DroidDoc. Rather than pulling the version from

@since tags in the code, it's pulled from the API XML files also used by
apicheck.

The code now reads the apicheck XML, and applies it's versions to the DroidDoc
class models. The models output the version to HDF, and that's picked up by
the CS templates.

The clearsilver templates will be changed to be pretty in a follow up change.
This commit is contained in:
Jesse Wilson
2009-06-01 17:59:44 -07:00
parent 3c3fae144e
commit 5e0dd414ff
17 changed files with 316 additions and 77 deletions

View File

@@ -114,6 +114,7 @@ public class Errors
public static Error DEPRECATION_MISMATCH = new Error(13, WARNING);
public static Error MISSING_COMMENT = new Error(14, WARNING);
public static Error IO_ERROR = new Error(15, HIDDEN);
public static Error NO_SINCE_DATA = new Error(16, WARNING);
public static Error[] ERRORS = {
UNRESOLVED_LINK,
@@ -129,6 +130,7 @@ public class Errors
HIDDEN_SUPERCLASS,
DEPRECATED,
IO_ERROR,
NO_SINCE_DATA,
};
public static boolean setErrorLevel(int code, int level) {