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

View file

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