diff options
author | David Robillard <d@drobilla.net> | 2015-11-13 10:23:36 -0500 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2015-11-13 10:23:36 -0500 |
commit | b4ac2de745fec00bd7f45be9fca386c13775685e (patch) | |
tree | 89466b49940cec0bff5e3c2dcbe1794d3ecf1c08 /lv2 | |
parent | e3ad15e41cccdd058f9a7fa2086bce5c0237e9fb (diff) | |
download | lv2-b4ac2de745fec00bd7f45be9fca386c13775685e.tar.xz |
Add example to patch:Put documentation
Diffstat (limited to 'lv2')
-rw-r--r-- | lv2/lv2plug.in/ns/ext/patch/patch.ttl | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/lv2/lv2plug.in/ns/ext/patch/patch.ttl b/lv2/lv2plug.in/ns/ext/patch/patch.ttl index 0e4c47d..1d22aef 100644 --- a/lv2/lv2plug.in/ns/ext/patch/patch.ttl +++ b/lv2/lv2plug.in/ns/ext/patch/patch.ttl @@ -205,7 +205,18 @@ patch:Put owl:cardinality 1 ; owl:onProperty patch:subject ] ; - rdfs:comment """Put the patch:body as the patch:subject. If the subject does not already exist, it is created. If the subject does already exist, the patch:body is considered an updated version of it, and the previous version is replaced.""" . + lv2:documentation """<p>Put the patch:body as the patch:subject. If the subject does not already exist, it is created. If the subject does already exist, the patch:body is considered an updated version of it, and the previous version is replaced.</p> + +<pre class="turtle-code"> +[] + a patch:Put ; + patch:subject <something> ; + patch:body [ + eg:name "New name" ; + eg:age 42 ; + ] . +</pre> +""" . patch:Request a rdfs:Class ; |