Skip to content

Commit 7e153ac

Browse files
committed
fixed broken jekyll workflow
1 parent 3f6fe6c commit 7e153ac

7 files changed

Lines changed: 69 additions & 1 deletion

documentation/Metadata_Formats.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,9 @@ The following is an example of an Index map for the Simple Dublin Core example.
167167
</xsl:for-each>
168168
<xsl:if test="count(date) &gt; 0">
169169
<xsl:if test="count(date) &lt; 2">
170+
{% raw %}
170171
<xsl:analyze-string regex="^\d{{4}}-\d{{2}}-\d{{2}}$"
172+
{% endraw %}
171173
select="date[1]/text()">
172174
<xsl:matching-substring>
173175
<xsl:variable name="date">
@@ -187,7 +189,9 @@ The following is an example of an Index map for the Simple Dublin Core example.
187189
</xsl:analyze-string>
188190
</xsl:if>
189191
<xsl:if test="count(date) &gt; 1">
192+
{% raw %}
190193
<xsl:analyze-string regex="^\d{{4}}-\d{{2}}-\d{{2}}$" select="date[1]/text()">
194+
{% endraw %}
191195
<xsl:matching-substring>
192196
<xsl:variable name="date">
193197
<xsl:value-of select="regex-group(0)" />
@@ -199,7 +203,9 @@ The following is an example of an Index map for the Simple Dublin Core example.
199203
</xsl:if>
200204
</xsl:matching-substring>
201205
</xsl:analyze-string>
206+
{% raw %}
202207
<xsl:analyze-string regex="^\d{{4}}-\d{{2}}-\d{{2}}$" select="date[2]/text()">
208+
{% endraw %}
203209
<xsl:matching-substring>
204210
<xsl:variable name="date">
205211
<xsl:value-of select="regex-group(0)" />
@@ -294,11 +300,13 @@ The output produced by this stylesheet is a [Solr document](https://wiki.apache.
294300

295301
```
296302
<doc>
303+
{% raw %}
297304
<field name="title">{{title}}</field>
298305
<field name="title_txt">{{title}}</field>
299306
<field name="description">{{description}}</field>
300307
<field name="description_txt">{{description}}</field>
301308
<field name="creator_txt">{{creator}}</field>
309+
{% endraw %}
302310
</doc>
303311
```
304312

documentation/Metadata_Formats_de_AT.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,7 @@ Die Indexmap-Datei muss im Konfigurationsordner unter `[RODA_HOME]/config/crossw
102102

103103
Das folgende Beispiel zeigt ein Index-Mapping für das einfache Dublin Core-Beispiel.
104104

105+
{% raw %}
105106
```
106107
<?xml version="1.0" encoding="UTF-8"?>
107108
<xsl:stylesheet version="2.0"
@@ -301,6 +302,7 @@ Die von diesem Stylesheet erzeugte Ausgabe ist ein [Solr-Dokument](https://wiki.
301302
<field name="creator_txt">{{creator}}</field>
302303
</doc>
303304
```
305+
{% endraw %}
304306

305307
### Visualisierung
306308

@@ -559,6 +561,7 @@ Die Aktivität _Bearbeitung_ wird durch eine Konfigurationsdatei unterstützt, d
559561

560562
Formulartemplates muss im Konfigurationsordner unter `[RODA_HOME]/config/templates/` hinzugefügt werden. Das folgende Beispiel zeigt, wie eine Vorlagendatei mit Anmerkungen kombiniert werden kann, die zur Darstellung des Metadaten-Editors verwendet werden.
561563

564+
{% raw %}
562565
```
563566
{{~field name="title" order='2' auto-generate='title' label="{'en': 'Title'}" xpath="//*:title/string()"}}
564567
{{~field name="id" order='1' auto-generate='id' label="{'en': 'ID'}" xpath="//*:identifier/string()"}}
@@ -586,6 +589,7 @@ Formulartemplates muss im Konfigurationsordner unter `[RODA_HOME]/config/templat
586589
```
587590

588591
Die Formularvorlagendateien basieren auf der leistungsfähigen [Handlebars-Engine] (http://handlebarsjs.com). Jedes Feld, das im Metadaten-Editor angezeigt werden soll, sollte am Anfang der Datei durch ein _field_-Handle identifiziert werden (z.B. `{{~field name="title"~}}`). Es gibt mehrere Optionen, mit denen die Art und Weise, wie die einzelnen Felder angezeigt werden, geändert werden kann. Diese Optionen sind Schlüssel-Wert-Paare, z. B. `label="Titel der Arbeit"`, wobei der Schlüssel der Name der Option und der Wert der Wert ist, der dieser Option gegeben wird.
592+
{% endraw %}
589593

590594
Die verfügbaren Optionen, die das Verhalten der Felder ändern, sind:
591595

@@ -644,6 +648,7 @@ crosswalks.dissemination.html.ead.level.item=Item
644648

645649
#### Beispiel für ein "Listen"-Feld
646650

651+
{% raw %}
647652
{{~field
648653
name="statusDescription"
649654
order="470"
@@ -655,10 +660,11 @@ optionsLabelI18nKeyPrefix="crosswalks.dissemination.html.ead.statusDescription"
655660
label="{'en': 'Status description', 'pt_PT': 'Estado da descrição'}"
656661
xpath="/*:ead/*:archdesc/*:odd[@type='statusDescription']/*:p/string()"
657662
~}}
663+
{% endraw %}
658664

659665
Das folgende Beispiel zeigt, wie die Tags verwendet werden können:
660666

661-
{{~file name="title" order="1" type="text" label="Template title" mandatory="true" auto-generate="title"~}}
667+
{% raw %} {{~file name="title" order="1" type="text" label="Template title" mandatory="true" auto-generate="title"~}}{% endraw %}
662668

663669
## Aktivieren des neuen Formats
664670

documentation/Metadata_Formats_de_DE.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,9 @@ Das folgende Beispiel zeigt ein Index-Mapping für das einfache Dublin Core-Beis
167167
</xsl:for-each>
168168
<xsl:if test="count(date) &gt; 0">
169169
<xsl:if test="count(date) &lt; 2">
170+
{% raw %}
170171
<xsl:analyze-string regex="^\d{{4}}-\d{{2}}-\d{{2}}$"
172+
{% endraw %}
171173
select="date[1]/text()">
172174
<xsl:matching-substring>
173175
<xsl:variable name="date">
@@ -187,7 +189,9 @@ Das folgende Beispiel zeigt ein Index-Mapping für das einfache Dublin Core-Beis
187189
</xsl:analyze-string>
188190
</xsl:if>
189191
<xsl:if test="count(date) &gt; 1">
192+
{% raw %}
190193
<xsl:analyze-string regex="^\d{{4}}-\d{{2}}-\d{{2}}$" select="date[1]/text()">
194+
{% endraw %}
191195
<xsl:matching-substring>
192196
<xsl:variable name="date">
193197
<xsl:value-of select="regex-group(0)" />
@@ -199,7 +203,9 @@ Das folgende Beispiel zeigt ein Index-Mapping für das einfache Dublin Core-Beis
199203
</xsl:if>
200204
</xsl:matching-substring>
201205
</xsl:analyze-string>
206+
{% raw %}
202207
<xsl:analyze-string regex="^\d{{4}}-\d{{2}}-\d{{2}}$" select="date[2]/text()">
208+
{% endraw %}
203209
<xsl:matching-substring>
204210
<xsl:variable name="date">
205211
<xsl:value-of select="regex-group(0)" />
@@ -294,11 +300,13 @@ Die von diesem Stylesheet erzeugte Ausgabe ist ein [Solr-Dokument](https://wiki.
294300

295301
```
296302
<doc>
303+
{% raw %}
297304
<field name="title">{{title}}</field>
298305
<field name="title_txt">{{title}}</field>
299306
<field name="description">{{description}}</field>
300307
<field name="description_txt">{{description}}</field>
301308
<field name="creator_txt">{{creator}}</field>
309+
{% endraw %}
302310
</doc>
303311
```
304312

@@ -560,6 +568,7 @@ Die Aktivität _Bearbeitung_ wird durch eine Konfigurationsdatei unterstützt, d
560568
Formulartemplates muss im Konfigurationsordner unter `[RODA_HOME]/config/templates/` hinzugefügt werden. Das folgende Beispiel zeigt, wie eine Vorlagendatei mit Anmerkungen kombiniert werden kann, die zur Darstellung des Metadaten-Editors verwendet werden.
561569

562570
```
571+
{% raw %}
563572
{{~field name="title" order='2' auto-generate='title' label="{'en': 'Title'}" xpath="//*:title/string()"}}
564573
{{~field name="id" order='1' auto-generate='id' label="{'en': 'ID'}" xpath="//*:identifier/string()"}}
565574
{{~field name="creator" label="{'en': 'Creator'}" xpath="//*:creator/string()"}}
@@ -586,6 +595,7 @@ Formulartemplates muss im Konfigurationsordner unter `[RODA_HOME]/config/templat
586595
```
587596

588597
Die Formularvorlagendateien basieren auf der leistungsfähigen [Handlebars-Engine] (http://handlebarsjs.com). Jedes Feld, das im Metadaten-Editor angezeigt werden soll, sollte am Anfang der Datei durch ein _field_-Handle identifiziert werden (z.B. `{{~field name="title"~}}`). Es gibt mehrere Optionen, mit denen die Art und Weise, wie die einzelnen Felder angezeigt werden, geändert werden kann. Diese Optionen sind Schlüssel-Wert-Paare, z. B. `label="Titel der Arbeit"`, wobei der Schlüssel der Name der Option und der Wert der Wert ist, der dieser Option gegeben wird.
598+
{% endraw %}
589599

590600
Die verfügbaren Optionen, die das Verhalten der Felder ändern, sind:
591601

@@ -644,7 +654,9 @@ crosswalks.dissemination.html.ead.level.item=Item
644654

645655
#### Beispiel für ein "Listen"-Feld
646656

657+
{% raw %}
647658
{{~field
659+
{% endraw %}
648660
name="statusDescription"
649661
order="470"
650662
type="list"
@@ -658,7 +670,9 @@ xpath="/*:ead/*:archdesc/*:odd[@type='statusDescription']/*:p/string()"
658670

659671
Das folgende Beispiel zeigt, wie die Tags verwendet werden können:
660672

673+
{% raw %}
661674
{{~file name="title" order="1" type="text" label="Template title" mandatory="true" auto-generate="title"~}}
675+
{% endraw %}
662676

663677
## Aktivieren des neuen Formats
664678

documentation/Metadata_Formats_es.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,9 @@ The following is an example of an Index map for the Simple Dublin Core example.
167167
</xsl:for-each>
168168
<xsl:if test="count(date) &gt; 0">
169169
<xsl:if test="count(date) &lt; 2">
170+
{% raw %}
170171
<xsl:analyze-string regex="^\d{{4}}-\d{{2}}-\d{{2}}$"
172+
{% endraw %}
171173
select="date[1]/text()">
172174
<xsl:matching-substring>
173175
<xsl:variable name="date">
@@ -187,7 +189,9 @@ The following is an example of an Index map for the Simple Dublin Core example.
187189
</xsl:analyze-string>
188190
</xsl:if>
189191
<xsl:if test="count(date) &gt; 1">
192+
{% raw %}
190193
<xsl:analyze-string regex="^\d{{4}}-\d{{2}}-\d{{2}}$" select="date[1]/text()">
194+
{% endraw %}
191195
<xsl:matching-substring>
192196
<xsl:variable name="date">
193197
<xsl:value-of select="regex-group(0)" />
@@ -199,7 +203,9 @@ The following is an example of an Index map for the Simple Dublin Core example.
199203
</xsl:if>
200204
</xsl:matching-substring>
201205
</xsl:analyze-string>
206+
{% raw %}
202207
<xsl:analyze-string regex="^\d{{4}}-\d{{2}}-\d{{2}}$" select="date[2]/text()">
208+
{% endraw %}
203209
<xsl:matching-substring>
204210
<xsl:variable name="date">
205211
<xsl:value-of select="regex-group(0)" />
@@ -294,11 +300,13 @@ The output produced by this stylesheet is a [Solr document](https://wiki.apache.
294300

295301
```
296302
<doc>
303+
{% raw %}
297304
<field name="title">{{title}}</field>
298305
<field name="title_txt">{{title}}</field>
299306
<field name="description">{{description}}</field>
300307
<field name="description_txt">{{description}}</field>
301308
<field name="creator_txt">{{creator}}</field>
309+
{% endraw %}
302310
</doc>
303311
```
304312

@@ -560,6 +568,7 @@ The _Editing_ activity is supported by a configuration file that will instruct t
560568
Form templates should be added to the configuration under the folder `[RODA_HOME]/config/templates/`. The following example shows how a template file can be combined with annotations that will be used to render the metadata editor.
561569

562570
```
571+
{% raw %}
563572
{{~field name="title" order='2' auto-generate='title' label="{'en': 'Title'}" xpath="//*:title/string()"}}
564573
{{~field name="id" order='1' auto-generate='id' label="{'en': 'ID'}" xpath="//*:identifier/string()"}}
565574
{{~field name="creator" label="{'en': 'Creator'}" xpath="//*:creator/string()"}}
@@ -586,6 +595,7 @@ Form templates should be added to the configuration under the folder `[RODA_HOME
586595
```
587596

588597
The Form template files are based on the the powerful [Handlebars engine](http://handlebarsjs.com). Each field that is expected to be shown in the metadata editor should be identified in the beginning of the file by a _field_ handle (e.g. `{{~field name="title"~}}`). There are several options that can be used to modify the way each field is displayed. These options are a key-value pairs, e.g. `label="Title of work"`, where the key is the name of the option and the value is the value that will be given to that option.
598+
{% endraw %}
589599

590600
The available options that alter the fields' behavior are:
591601

@@ -644,7 +654,9 @@ The available options that alter the fields' behavior are:
644654

645655
#### Full example of a "list" field
646656

657+
{% raw %}
647658
{{~field
659+
{% endraw %}
648660
name="statusDescription"
649661
order="470"
650662
type="list"
@@ -658,7 +670,9 @@ The available options that alter the fields' behavior are:
658670

659671
The following is an example of how the tags can be used:
660672

673+
{% raw %}
661674
{{~file name="title" order="1" type="text" label="Template title" mandatory="true" auto-generate="title"~}}
675+
{% endraw %}
662676

663677
## Activate the new format
664678

documentation/Metadata_Formats_hu.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,9 @@ A következő egy példa az Indextérképre az egyszerű Dublin Core példához.
167167
</xsl:for-each>
168168
<xsl:if test="count(date) &gt; 0">
169169
<xsl:if test="count(date) &lt; 2">
170+
{% raw %}
170171
<xsl:analyze-string regex="^\d{{4}}-\d{{2}}-\d{{2}}$"
172+
{% endraw %}
171173
select="date[1]/text()">
172174
<xsl:matching-substring>
173175
<xsl:variable name="date">
@@ -187,7 +189,9 @@ A következő egy példa az Indextérképre az egyszerű Dublin Core példához.
187189
</xsl:analyze-string>
188190
</xsl:if>
189191
<xsl:if test="count(date) &gt; 1">
192+
{% raw %}
190193
<xsl:analyze-string regex="^\d{{4}}-\d{{2}}-\d{{2}}$" select="date[1]/text()">
194+
{% endraw %}
191195
<xsl:matching-substring>
192196
<xsl:variable name="date">
193197
<xsl:value-of select="regex-group(0)" />
@@ -199,7 +203,9 @@ A következő egy példa az Indextérképre az egyszerű Dublin Core példához.
199203
</xsl:if>
200204
</xsl:matching-substring>
201205
</xsl:analyze-string>
206+
{% raw %}
202207
<xsl:analyze-string regex="^\d{{4}}-\d{{2}}-\d{{2}}$" select="date[2]/text()">
208+
{% endraw %}
203209
<xsl:matching-substring>
204210
<xsl:variable name="date">
205211
<xsl:value-of select="regex-group(0)" />
@@ -294,11 +300,13 @@ A stíluslap által előállított kimenet egy [Solr dokumentum](https://wiki.ap
294300

295301
```
296302
<doc>
303+
{% raw %}
297304
<field name="title">{{title}}</field>
298305
<field name="title_txt">{{title}}</field>
299306
<field name="description">{{description}}</field>
300307
<field name="description_txt">{{description}}</field>
301308
<field name="creator_txt">{{creator}}</field>
309+
{% endraw %}
302310
</doc>
303311
```
304312

documentation/Metadata_Formats_pt_PT.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,9 @@ O seguinte exemplo demonstra um ficheiro de mapa de índices para a metainforma
167167
</xsl:for-each>
168168
<xsl:if test="count(date) &gt; 0">
169169
<xsl:if test="count(date) &lt; 2">
170+
{% raw %}
170171
<xsl:analyze-string regex="^\d{{4}}-\d{{2}}-\d{{2}}$"
172+
{% endraw %}
171173
select="date[1]/text()">
172174
<xsl:matching-substring>
173175
<xsl:variable name="date">
@@ -187,7 +189,9 @@ O seguinte exemplo demonstra um ficheiro de mapa de índices para a metainforma
187189
</xsl:analyze-string>
188190
</xsl:if>
189191
<xsl:if test="count(date) &gt; 1">
192+
{% raw %}
190193
<xsl:analyze-string regex="^\d{{4}}-\d{{2}}-\d{{2}}$" select="date[1]/text()">
194+
{% endraw %}
191195
<xsl:matching-substring>
192196
<xsl:variable name="date">
193197
<xsl:value-of select="regex-group(0)" />
@@ -199,7 +203,9 @@ O seguinte exemplo demonstra um ficheiro de mapa de índices para a metainforma
199203
</xsl:if>
200204
</xsl:matching-substring>
201205
</xsl:analyze-string>
206+
{% raw %}
202207
<xsl:analyze-string regex="^\d{{4}}-\d{{2}}-\d{{2}}$" select="date[2]/text()">
208+
{% endraw %}
203209
<xsl:matching-substring>
204210
<xsl:variable name="date">
205211
<xsl:value-of select="regex-group(0)" />
@@ -294,11 +300,13 @@ O resultado produzido é um [documento Solr](https://wiki.apache.org/solr/Update
294300

295301
```
296302
<doc>
303+
{% raw %}
297304
<field name="title">{{title}}</field>
298305
<field name="title_txt">{{title}}</field>
299306
<field name="description">{{description}}</field>
300307
<field name="description_txt">{{description}}</field>
301308
<field name="creator_txt">{{creator}}</field>
309+
{% endraw %}
302310
</doc>
303311
```
304312

@@ -588,7 +596,9 @@ O modelo de formulário deverá ser adicionado à pasta de configuração `[RODA
588596
```
589597
<!--- {% endraw %} --->
590598

599+
{% raw %}
591600
O modelo de formulário é baseado no [Handlebars](http://handlebarsjs.com). Cada campo que é esperado ser mostrado no editor de metainformação deve ser identificado no início do ficheiro por _campo_ (p.e. `{{~field name="title"~}}`). Existem diferentes opções que podem ser usadas para modificar a forma como cada campo é mostrado. Estas opções são pares de chave-valor, p.e. `label="Title of work"`, onde a chave é o nome da opção e o valor é o valor para aquela opção.
601+
{% endraw %}
592602

593603
As opções disponíveis que alteram o comportamento dos campos são:
594604

documentation/Metadata_Formats_sv_SE.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,9 @@ Nedan är ett exempel på en indexkarta för Simple Dublin Core-exemplet.
167167
</xsl:for-each>
168168
<xsl:if test="count(date) &gt; 0">
169169
<xsl:if test="count(date) &lt; 2">
170+
{% raw %}
170171
<xsl:analyze-string regex="^\d{{4}}-\d{{2}}-\d{{2}}$"
172+
{% endraw %}
171173
select="date[1]/text()">
172174
<xsl:matching-substring>
173175
<xsl:variable name="date">
@@ -187,7 +189,9 @@ Nedan är ett exempel på en indexkarta för Simple Dublin Core-exemplet.
187189
</xsl:analyze-string>
188190
</xsl:if>
189191
<xsl:if test="count(date) &gt; 1">
192+
{% raw %}
190193
<xsl:analyze-string regex="^\d{{4}}-\d{{2}}-\d{{2}}$" select="date[1]/text()">
194+
{% endraw %}
191195
<xsl:matching-substring>
192196
<xsl:variable name="date">
193197
<xsl:value-of select="regex-group(0)" />
@@ -199,7 +203,9 @@ Nedan är ett exempel på en indexkarta för Simple Dublin Core-exemplet.
199203
</xsl:if>
200204
</xsl:matching-substring>
201205
</xsl:analyze-string>
206+
{% raw %}
202207
<xsl:analyze-string regex="^\d{{4}}-\d{{2}}-\d{{2}}$" select="date[2]/text()">
208+
{% endraw %}
203209
<xsl:matching-substring>
204210
<xsl:variable name="date">
205211
<xsl:value-of select="regex-group(0)" />
@@ -294,11 +300,13 @@ Utdatan som produceras av denna visningsmall är ett [Solr dokument](https://wik
294300

295301
```
296302
<doc>
303+
{% raw %}
297304
<field name="title">{{title}}</field>
298305
<field name="title_txt">{{title}}</field>
299306
<field name="description">{{description}}</field>
300307
<field name="description_txt">{{description}}</field>
301308
<field name="creator_txt">{{creator}}</field>
309+
{% endraw %}
302310
</doc>
303311
```
304312

0 commit comments

Comments
 (0)