Skip to content

Commit

Permalink
TASK: Add multiple ndoeType configurations to readme
Browse files Browse the repository at this point in the history
  • Loading branch information
daniellienert authored Mar 25, 2020
1 parent dd1c5f8 commit 6af8c86
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,32 @@ title node which should be considered to move the page.
name: "${Archivist.buildSortingCharacter(title)}"
title: "${Archivist.buildSortingCharacter(title)}"

### Define multiple configurations for the same NodeType

In addition to

```yaml
PunktDe:
Archivist:
sortingInstructions:
MyNode.Type:
hierarchyRoot: # ...
```
you can now do this:
```yaml
PunktDe:
Archivist:
sortingInstructions:
MyNode.Type:
foo1:
hierarchyRoot: # ...
foo2:
hierarchyRoot: # ...
```
Make sure, to define a `conditon` to not run several configurations on the same Node action.

## Archivist Eel Helper

`Archivist.buildSortingCharacter(string, position = 0, length = 1)` Generates upper case sorting characters from the given string. Starting position and length can be defined.

0 comments on commit 6af8c86

Please sign in to comment.