Skip to content

Commit

Permalink
Converter profile now has entire MRG, not just its 'Terminology' sect…
Browse files Browse the repository at this point in the history
…ion.

Signed-off-by: Rieks <[email protected]>
  • Loading branch information
RieksJ committed Sep 8, 2024
1 parent 031554f commit 09b6257
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 38 deletions.
2 changes: 1 addition & 1 deletion docs/specs/syntax/41-mrg-refs.md
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ Converters can use the [TEv2 helper functions](@) and [block helpers](https://ha
<a href="{{localize entry.navurl}}">{{capFirst entry.term}}</a>

{{#if entry.glossaryText}}
*Text derived from the {{mrg.scopetag}} glossary at {{mrg.website}}.*
*Text derived from the {{mrg.terminlogy.scopetag}} glossary at {{mrg.terminlogy.website}}.*
{{entry.glossaryText}}
{{else}}
No description available here at {{err.file}}, please see {{entry.navurl}}.
Expand Down
42 changes: 5 additions & 37 deletions docs/terms/converter-profile.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,18 +83,9 @@ entry:
termid: "concept:converter-profile"
vsntag: "documentation"
mrg:
scopetag: "tev2"
scopedir: "https://github.com/tno-terminology-design/tev2-specifications/tree/master/docs"
curatedir: "terms"
glossarydir: "glossaries"
defaultvsn: "documentation"
website: "https://tno-terminology-design.github.io/tev2-specifications/docs"
navpath: "/terms"
navid: "id"
license: "LICENSE.md"
vsntag: "documentation"
altvsntags:
- "latest"
# In this section, you will find the entire MRG to which the Entry belongs
# We haven't put that in this example to keep it manageable.
# See the specifications of MRG files for their construciton.
saf:
scope:
scopetag: mve
Expand Down Expand Up @@ -251,7 +242,6 @@ ref:

</Tabs>


### `entry` fields

The `entry` section of a converter profile specifies the particulars of the [MRG entry](@) that was selected. If no [MRG entry](@) was selected, this section is empty, or does not exist.
Expand Down Expand Up @@ -298,33 +288,11 @@ entry:

### `mrg` fields

The `mrg` section of a converter profile contains the [terminology section](/docs/specs/files/mrg#terminology) of the [MRG](@) to which the selected [MRG entry](@) belongs. If the [MRG](@) could not be found, this section may be empty, or nonexistent.

<details>
<summary>Example of `entry` field</summary>

~~~ yaml
mrg:
scopetag: "tev2"
scopedir: "https://github.com/tno-terminology-design/tev2-specifications/tree/master/docs"
curatedir: "terms"
glossarydir: "glossaries"
defaultvsn: "documentation"
website: "https://tno-terminology-design.github.io/tev2-specifications/docs"
navpath: "/terms"
navid: "id"
license: "LICENSE.md"
vsntag: "documentation"
altvsntags:
- "latest"
~~~

</details>
The `mrg` section of a converter profile contains the entire [MRG](@) in which the [MRG entry](@) is located. See the section [MRG structure](/docs/specs/files/mrg#structure) for the details.

### `saf` fields

The `saf` section of a converter profile specifies the entire [SAF](@), as specified [here](/docs/specs/files/saf) of [current scope](@). Examples are given there as well.

The `saf` section of a converter profile contains the entire [SAF](@) of the [current scope](@). See the section [Scope Aministration File (SAF)](/docs/specs/files/saf) for the details.

### `err` fields

Expand Down

0 comments on commit 09b6257

Please sign in to comment.