File tree Expand file tree Collapse file tree 1 file changed +41
-0
lines changed Expand file tree Collapse file tree 1 file changed +41
-0
lines changed Original file line number Diff line number Diff line change @@ -411,6 +411,47 @@ tree with ``append()``::
411411This is also useful to help you avoid repeating yourself if you have sections
412412of the config that are repeated in different places.
413413
414+ The example results in the following:
415+
416+ .. configuration-block ::
417+
418+ .. code-block :: yaml
419+
420+ database :
421+ connection :
422+ driver : ~ # Required
423+ host : localhost
424+ username : ~
425+ password : ~
426+ memory : false
427+ parameters : # Required
428+
429+ # Prototype
430+ name :
431+ value : ~ # Required
432+
433+ .. code-block :: xml
434+
435+ <database >
436+ <!-- driver: Required -->
437+ <connection
438+ driver =" "
439+ host =" localhost"
440+ username =" "
441+ password =" "
442+ memory =" false"
443+ >
444+
445+ <!-- prototype -->
446+ <!-- value: Required -->
447+ <parameters
448+ name =" parameters name"
449+ value =" "
450+ />
451+
452+ </connection >
453+ </database >
454+
414455 .. _component-config-normalization :
415456
416457Normalization
You can’t perform that action at this time.
0 commit comments