diff options
author | David Robillard <d@drobilla.net> | 2010-11-26 20:25:02 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2010-11-26 20:25:02 +0000 |
commit | e0c4fb1bc1c66e5655a41ddcbfaafb07e32b93a2 (patch) | |
tree | a73d27c9839bd99ef8e14ac3efec8d59d21c756d /extensions/units.lv2 | |
parent | a31c23155b8b1902f70a63a12d7c09822dacda04 (diff) | |
download | lv2-e0c4fb1bc1c66e5655a41ddcbfaafb07e32b93a2.tar.xz |
Mark up documentation with lv2:documentation as per discussion on lv2-dev.
Use unified lv2plug.in style for ontology documentation.
Diffstat (limited to 'extensions/units.lv2')
-rw-r--r-- | extensions/units.lv2/units.ttl | 19 |
1 files changed, 10 insertions, 9 deletions
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 <http://lv2plug.in/ns/extensions/units> ; 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 """ +<p>This extension defines a number of units for use in audio processing.</p> -For example, to say that the port use the gain unit defined as units:db (decibels): +<p>For example, to say that the port use the gain unit defined as units:db +(decibels):</p> <pre> @prefix : <http://lv2plug.in/ns/extensions/units#> . @@ -65,8 +66,8 @@ lv2:port [ ] </pre> -Using the same form, plugins may also specify one-off units inline, to give -better display hints to hosts: +<p>Using the same form, plugins may also specify one-off units inline, to give +better display hints to hosts:</p> <pre> lv2:port [ a lv2:ControlRateInputPort ; @@ -82,8 +83,8 @@ lv2:port [ ] ] </pre> -Units are defined by a number of properties: +<p>Units are defined by a number of properties:</p> <dl> <dt>units:name</dt> <dd>A display name for the unit (eg. decibels)</dd> @@ -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).</dd> </dl> -""" ^^ lv2:basicXHTML . +""" . units:Unit a rdfs:Class ; rdfs:comment "A unit for LV2 port data" . |