Skip to content

Commit 1be0ed9

Browse files
committed
fixup: minor docstring improvement
1 parent 4ea5e70 commit 1be0ed9

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/api/webanno.rs

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -136,9 +136,10 @@ pub struct WebAnnoConfig {
136136
/// IRI prefix for Text Resources. Will be prepended if the resource public ID is not an IRI yet.
137137
pub default_resource_iri: String,
138138

139-
/// Extra JSON-LD context to export, these must be URLs to JSONLD files. Keys in these sets that are not full IRIs will
140-
/// then be copied as-is to the output (as alias rather than joined with the set ID to form a
141-
/// full IRI ), leaving interpretation it up to the JSON-LD context.
139+
/// Extra JSON-LD context to export, these must be URLs to JSONLD files. The contexts you
140+
/// provide also double as possible STAM dataset IDs. Keys in these sets that are not full IRIs
141+
/// will then be copied as-is to the output (as alias rather than joined with the set ID to
142+
/// form a full IRI ), leaving interpretation it up to the JSON-LD context.
142143
pub extra_context: Vec<String>,
143144

144145
/// Automatically add a 'generated' triple for each annotation, with the timestamp of serialisation

0 commit comments

Comments
 (0)