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:
@@ -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) {
|
||||
|
Reference in New Issue
Block a user