diff options
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/markdown/snippets/json_output_format.md | 5 | ||||
| -rw-r--r-- | docs/yaml/functions/configure_file.yaml | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/docs/markdown/snippets/json_output_format.md b/docs/markdown/snippets/json_output_format.md new file mode 100644 index 000000000..626840f76 --- /dev/null +++ b/docs/markdown/snippets/json_output_format.md @@ -0,0 +1,5 @@ +## Added 'json' output_format to configure_file() + +When no input file is specified, [[configure_file]] can now +generate a `json` file from given [[@cfg_data]]. +Field descriptions are not preserved in the json file. diff --git a/docs/yaml/functions/configure_file.yaml b/docs/yaml/functions/configure_file.yaml index df37ff581..6fb972b3e 100644 --- a/docs/yaml/functions/configure_file.yaml +++ b/docs/yaml/functions/configure_file.yaml @@ -134,7 +134,7 @@ kwargs: The format of the output to generate when no input was specified. It defaults to `c`, in which case preprocessor directives will be prefixed with `#`, you can also use `nasm`, in which case the - prefix will be `%`. + prefix will be `%`. *(since 1.3.0)* `json` format can also be used. encoding: type: str |
