From 9eefef66a8978840826532b055f23715412c958a Mon Sep 17 00:00:00 2001 From: Jeff Arneson Date: Wed, 10 Sep 2014 17:20:33 -0700 Subject: [PATCH] Show annotation information for fields, enums, etc. and in the class list Add the "Included in documentation due to annotations..." text for fields, enum constants, and pretty much everything with a description. Added annotation text to eh classes.cs file used to generate the class list page. Change-Id: I2685d1a34fa292088c03ccd76f2627fe954c9000 --- tools/droiddoc/templates-sdk/class.cs | 27 ++++++++++++++++++++----- tools/droiddoc/templates-sdk/classes.cs | 6 +++++- 2 files changed, 27 insertions(+), 6 deletions(-) diff --git a/tools/droiddoc/templates-sdk/class.cs b/tools/droiddoc/templates-sdk/class.cs index 1a770b3d6a..deffa30468 100644 --- a/tools/droiddoc/templates-sdk/class.cs +++ b/tools/droiddoc/templates-sdk/class.cs @@ -215,7 +215,10 @@ Summary: - + + + Included in documentation by the annotations: ", "") ?> + @@ -227,7 +230,10 @@ Summary: - + + + Included in documentation by the annotations: ", "") ?> + @@ -247,7 +253,10 @@ Summary: -   + +   + Included in documentation by the annotations: ", "") ?> + @@ -264,7 +273,10 @@ Summary: -   + +   + Included in documentation by the annotations: ", "") ?> + @@ -340,7 +352,10 @@ Summary:     -   + +   + Included in documentation by the annotations: ", "") ?> + @@ -509,6 +524,7 @@ From
+ Included in documentation by the annotations: ", "") ?>
@@ -566,6 +582,7 @@ From

+ Included in documentation by the annotations: ", "") ?>
diff --git a/tools/droiddoc/templates-sdk/classes.cs b/tools/droiddoc/templates-sdk/classes.cs index 6769f473fa..84cca816bb 100644 --- a/tools/droiddoc/templates-sdk/classes.cs +++ b/tools/droiddoc/templates-sdk/classes.cs @@ -1,5 +1,6 @@ + devsite> alt-color api apilevel-" > -   + +   + Included in documentation by the annotations: ", "") ?> +