Skip to content

Commit

Permalink
TASK: Shorten documentation lines
Browse files Browse the repository at this point in the history
  • Loading branch information
daniellienert committed Feb 4, 2018
1 parent 01c4ec8 commit 9cf895f
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 13 deletions.
13 changes: 7 additions & 6 deletions Configuration/Testing/Settings.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,20 @@ PunktDe:

# Simple Example
#
# Configuration for the nodeType 'PunktDe.Archivist.TriggerNode'. The sorting is triggered if a node of this type is
# created or if a property on this node is changed. This node is than available as 'node' in the other parts of the configuration
# Configuration for the nodeType 'PunktDe.Archivist.TriggerNode'. The sorting is triggered if a
# node of this type is created or if a property on this node is changed. This node is than
# available as 'node' in the other parts of the configuration
'PunktDe.Archivist.TriggerNode':

# The query selecting the root node of the automatically created hierarchy
hierarchyRoot: "${q(site).find('[instanceof Neos.ContentRepository.Testing:Page]').get(0)}"

# Optional: The sorting of the nodes inside the target hierarchy. Can be the name of a property or an eel
# expression like seen below
# Optional: The sorting of the nodes inside the target hierarchy. Can be the name of a property
# or an eel expression like seen below
sorting: title

# In the context is evaluated first. You can define variables here which you can use in the remaining
# configuration
# In the context is evaluated first. You can define variables here which you can use in
# the remaining configuration
context:
publishDate: "${node.properties.date}"

Expand Down
15 changes: 8 additions & 7 deletions Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,26 +18,27 @@ are best explained by example. These examples are taken from ``Configuration/Tes
and are thus automatically tested.

## Example Configurations

PunktDe:
Archivist:
sortingInstructions:

# Simple Example
#
# Configuration for the nodeType 'PunktDe.Archivist.TriggerNode'. The sorting is triggered if a node of this type is
# created or if a property on this node is changed. This node is than available as 'node' in the other parts of the configuration
# Configuration for the nodeType 'PunktDe.Archivist.TriggerNode'. The sorting is triggered if a
# node of this type is created or if a property on this node is changed. This node is than
# available as 'node' in the other parts of the configuration
'PunktDe.Archivist.TriggerNode':

# The query selecting the root node of the automatically created hierarchy
hierarchyRoot: "${q(site).find('[instanceof Neos.ContentRepository.Testing:Page]').get(0)}"

# Optional: The sorting of the nodes inside the target hierarchy. Can be the name of a property or an eel
# expression like seen below
# Optional: The sorting of the nodes inside the target hierarchy. Can be the name of a property
# or an eel expression like seen below
sorting: title

# In the context is evaluated first. You can define variables here which you can use in the remaining
# configuration
# In the context is evaluated first. You can define variables here which you can use in
# the remaining configuration
context:
publishDate: "${node.properties.date}"

Expand Down

0 comments on commit 9cf895f

Please sign in to comment.