doc: update rules in readme

This commit is contained in:
Dmitriy Pleshevskiy 2022-11-12 17:06:43 +03:00
parent 4f583c160d
commit f4d4d46390
Signed by: pleshevskiy
GPG Key ID: 1B59187B161C0215
1 changed files with 5 additions and 5 deletions

View File

@ -9,12 +9,12 @@ You can create many sections in your `.env` and switch between them.
Rules: Rules:
- State name starts on a new line with `###` symbols (Ex. `### local`) - Section name starts on a new line with `###` symbols (Ex. `### local`)
- State name can contain multiple comma-separated sections (Ex. - Section can contain multiple comma-separated names (Ex.
`### local,staging`) `### local,staging`)
- Each section may specify a namespace (Ex. `### debug:on,dev:on`). If a section - Each section name may specify a namespace (Ex. `### debug:on,dev:on`). If a
doesn't contain a namespace, it's a global namespace. section doesn't contain a namespace, it's a global namespace.
- State ends if line is empty or contains a new state name. - Section ends if line is empty or contains a new section name.
You can see the [full example]. You can see the [full example].