From e0c4fb1bc1c66e5655a41ddcbfaafb07e32b93a2 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Fri, 26 Nov 2010 20:25:02 +0000 Subject: Mark up documentation with lv2:documentation as per discussion on lv2-dev. Use unified lv2plug.in style for ontology documentation. --- extensions/units.lv2/units.ttl | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) (limited to 'extensions/units.lv2/units.ttl') diff --git a/extensions/units.lv2/units.ttl b/extensions/units.lv2/units.ttl index 52e20f6..4ce3ada 100644 --- a/extensions/units.lv2/units.ttl +++ b/extensions/units.lv2/units.ttl @@ -32,8 +32,8 @@ doap:created "2007-02-06" ; doap:homepage ; doap:release [ - doap:revision "5" ; - doap:created "2009-11-10" + doap:revision "5.1pre1" ; + doap:created "2010-10-29" ] ; doap:maintainer [ a foaf:Person ; @@ -48,10 +48,11 @@ foaf:name "David Robillard" ] ; doap:name "LV2 Units extension" ; - rdfs:comment """ -This extension defines a number of units for use in audio processing. + lv2:documentation """ +

This extension defines a number of units for use in audio processing.

-For example, to say that the port use the gain unit defined as units:db (decibels): +

For example, to say that the port use the gain unit defined as units:db +(decibels):

 @prefix : <http://lv2plug.in/ns/extensions/units#> .
 
@@ -65,8 +66,8 @@ lv2:port [
 ]
 
-Using the same form, plugins may also specify one-off units inline, to give -better display hints to hosts: +

Using the same form, plugins may also specify one-off units inline, to give +better display hints to hosts:

 lv2:port [
     a            lv2:ControlRateInputPort ;
@@ -82,8 +83,8 @@ lv2:port [
     ]
 ]
 
-Units are defined by a number of properties: +

Units are defined by a number of properties:

units:name
A display name for the unit (eg. decibels)
@@ -97,7 +98,7 @@ unit class (eg. units:conversion [ units:to units:m ; units:factor 1000 ]). conversions are expressed as either factors (multiplicand for the conversion) or offsets (addend for the conversion).
-""" ^^ lv2:basicXHTML . +""" . units:Unit a rdfs:Class ; rdfs:comment "A unit for LV2 port data" . -- cgit v1.2.1