From 4ee818b680e6864e03d98aa945be1600471db578 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 5 Nov 2011 03:45:53 +0000 Subject: Mark event and uri-map as deprecated and point to their successors in documentation. --- lv2specgen/lv2specgen.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'lv2specgen') diff --git a/lv2specgen/lv2specgen.py b/lv2specgen/lv2specgen.py index 3293019..ce4ec22 100755 --- a/lv2specgen/lv2specgen.py +++ b/lv2specgen/lv2specgen.py @@ -973,7 +973,11 @@ def specgen(specloc, indir, docdir, style_uri, doc_base, doclinks, instances=Fal version_string = "%s.%s (%s)" % (version[0], version[1], date_string) if version[0] == 0 or version[1] % 2 == 1: - version_string += ' EXPERIMENTAL' + version_string += ' EXPERIMENTAL' + + deprecated = findOne(m, rdflib.URIRef(spec_url), owl.deprecated, None) + if deprecated and str(deprecated[2]).find("true") > 0: + version_string += ' DEPRECATED' template = template.replace('@REVISION@', version_string) -- cgit v1.2.1