From 430284545345539c9ffb31df889debac1d3888b5 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 22 Mar 2020 16:36:44 +0100 Subject: Move documentation to metadata files and convert it to Markdown --- lv2/uri-map/uri-map.meta.ttl | 17 ++++++++++++++++- lv2/uri-map/uri-map.ttl | 17 +++-------------- 2 files changed, 19 insertions(+), 15 deletions(-) (limited to 'lv2/uri-map') diff --git a/lv2/uri-map/uri-map.meta.ttl b/lv2/uri-map/uri-map.meta.ttl index 540585a..acd1c26 100644 --- a/lv2/uri-map/uri-map.meta.ttl +++ b/lv2/uri-map/uri-map.meta.ttl @@ -1,3 +1,4 @@ +@prefix lv2: . @prefix dcs: . @prefix doap: . @prefix foaf: . @@ -53,5 +54,19 @@ rdfs:label "Initial release." ] ] - ] . + ] ; + lv2:documentation """ + +This extension is deprecated. New implementations +should use [LV2 URID](urid.html) instead. + +This extension defines a simple mechanism for plugins to map URIs to integers, +usually for performance reasons (e.g. processing events typed by URIs in real +time). The expected use case is for plugins to map URIs to integers for things +they 'understand' at instantiation time, and store those values for use in the +audio thread without doing any string comparison. This allows the +extensibility of RDF with the performance of integers (or centrally defined +enumerations). + +"""^^lv2:Markdown . diff --git a/lv2/uri-map/uri-map.ttl b/lv2/uri-map/uri-map.ttl index 4be9d21..b90407f 100644 --- a/lv2/uri-map/uri-map.ttl +++ b/lv2/uri-map/uri-map.ttl @@ -8,19 +8,8 @@ a lv2:Feature , lv2:Specification ; owl:deprecated true ; + rdfs:label "LV2 URI Map" ; + rdfs:comment "A feature for mapping URIs to integers." ; rdfs:seeAlso , - ; - lv2:documentation """ -

This extension is deprecated. New -implementations should use LV2 URID -instead.

- -

This extension defines a simple mechanism for plugins to map URIs to -integers, usually for performance reasons (e.g. processing events typed by URIs -in real time). The expected use case is for plugins to map URIs to integers -for things they 'understand' at instantiation time, and store those values for -use in the audio thread without doing any string comparison. This allows the -extensibility of RDF with the performance of integers (or centrally defined -enumerations).

-""" . + . -- cgit v1.2.1