[tracker] docs: Add deprecation notice for properties
- From: Jürg Billeter <juergbi src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [tracker] docs: Add deprecation notice for properties
- Date: Wed, 10 Feb 2010 11:18:28 +0000 (UTC)
commit 67496c3b5b3038bbacf9f26dbfbeed6c1ff3456e
Author: Jürg Billeter <j bitron ch>
Date: Wed Feb 10 12:17:32 2010 +0100
docs: Add deprecation notice for properties
docs/tools/ttl_sgml.c | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
---
diff --git a/docs/tools/ttl_sgml.c b/docs/tools/ttl_sgml.c
index 4cd200b..48c52b9 100644
--- a/docs/tools/ttl_sgml.c
+++ b/docs/tools/ttl_sgml.c
@@ -267,6 +267,14 @@ print_ontology_property (gpointer key, gpointer value, gpointer user_data)
}
g_fprintf (f, "</variablelist>\n");
+
+ if (def->deprecated) {
+ g_fprintf (f, "<note>\n");
+ g_fprintf (f, "<title>Note:</title>\n");
+ g_fprintf (f, "<para>This property is deprecated</para>\n", id);
+ g_fprintf (f, "</note>\n");
+ }
+
g_fprintf (f, "</refsect2>\n\n");
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]