docs/layouts/shortcodes/config_file.html
{{/* Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */}}
| Config Type | Format Reference |
|---|---|
| Regular expression: [-+]? [0-9]+
Example: 100 |
|
| Regular expression: [-+]? [0-9]+
Example: 100 |
|
| Regular expression: [-+]? ( \. [0-9]+ | [0-9]+ ( \. [0-9]* )? ) ( [eE] [-+]? [0-9]+ )?
Example: 100.1 |
|
| Regular expression: [-+]? ( \. [0-9]+ | [0-9]+ ( \. [0-9]* )? ) ( [eE] [-+]? [0-9]+ )?
Example: 100.1 |
|
| Regular expression: true | True | TRUE | false | False | FALSE
Example: true |
|
| Any character
Note : If the value contains special characters used in YAML, it is necessary to use single or double quotes to escape these characters. | |
|
Flow Style:
{k1: v1, k2: v2}Block Style:
k1: v1k2: v2
k1:v1,k2:v2Note: For values containing special characters, consider escaping them; details can be found in the description of Config Type: String. | |
|
Flow Style:
[a, b, c]Block Style:
- a- b- c
a;b;cNote: For values containing special characters, consider escaping them; details can be found in the description of Config Type: String. | |
| Regular expression: [0-9]+ (b | kb | kibibytes | m | mb | mebibytes | g | gb | gibibytes | t | tb | tebibytes)?
Example: 100 mb |
|
| Regular expression: [0-9]+ (d | day | h | hour | m | min | minute | s | sec | second | ms | milli | millisecond | us | micro | microsecond | ns | nano | nanosecond)?
Example: 10 s |
|
| Enum Constants |