Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commita1ef572

Browse files
OskarStarkwouterj
authored andcommitted
added result yaml and xml from example code
1 parent55ed9ad commita1ef572

File tree

1 file changed

+41
-0
lines changed

1 file changed

+41
-0
lines changed

‎components/config/definition.rst

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -411,6 +411,47 @@ tree with ``append()``::
411411
This is also useful to help you avoid repeating yourself if you have sections
412412
of 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

416457
Normalization

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp