doc: add many rules to readme
This commit is contained in:
parent
53b99905f8
commit
d46da89a47
1 changed files with 4 additions and 0 deletions
|
@ -7,6 +7,10 @@ You can create many states in your `.env` and switch between them.
|
||||||
Rules:
|
Rules:
|
||||||
|
|
||||||
- State name starts on a new line with `###` symbols (Ex. `### local`)
|
- State name starts on a new line with `###` symbols (Ex. `### local`)
|
||||||
|
- State name can contain multiple comma-separated sections (Ex.
|
||||||
|
`### local,staging`)
|
||||||
|
- Each section may specify a namespace (Ex. `### debug:on,dev:on`). If a section
|
||||||
|
doesn't contain a namespace, it's a global namespace.
|
||||||
- State ends if line is empty or contains a new state name.
|
- State ends if line is empty or contains a new state name.
|
||||||
|
|
||||||
You can see the [full example].
|
You can see the [full example].
|
||||||
|
|
Loading…
Reference in a new issue