From 6af8c86d36170d04e26628f88825f41d5bb9dfd1 Mon Sep 17 00:00:00 2001 From: Daniel Lienert Date: Wed, 25 Mar 2020 15:24:06 +0100 Subject: [PATCH] TASK: Add multiple ndoeType configurations to readme --- Readme.md | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/Readme.md b/Readme.md index 17bf2d4..1145c28 100644 --- a/Readme.md +++ b/Readme.md @@ -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.