mirror of
https://github.com/docker-mailserver/docker-mailserver.git
synced 2025-07-01 21:14:54 +02:00
chore(docs): outsourcing environment vars to the documentation (#1948)
Co-authored-by: Frederic Werner <20406381+wernerfred@users.noreply.github.com> Co-authored-by: Casper <casperklein@users.noreply.github.com> Co-authored-by: Brennan Kinney <5098581+polarathene@users.noreply.github.com>
This commit is contained in:
parent
29d630f695
commit
5449efd8d4
18 changed files with 188 additions and 147 deletions
|
@ -2,7 +2,7 @@
|
|||
title: 'Contributing | Coding Style'
|
||||
---
|
||||
|
||||
##Bash and Shell
|
||||
## Bash and Shell
|
||||
|
||||
When refactoring, writing or altering scripts, that is Shell and bash scripts, in any way, adhere to these rules:
|
||||
|
||||
|
@ -40,7 +40,7 @@ fi
|
|||
|
||||
### Variables & Braces
|
||||
|
||||
!!! attention
|
||||
!!! attention
|
||||
|
||||
Variables are always uppercase. We always use braces.
|
||||
|
||||
|
@ -51,7 +51,7 @@ If you forgot this and want to change it later, you can use [this link][regex].
|
|||
local VAR="good"
|
||||
local NEW="${VAR}"
|
||||
|
||||
# bad -> TravisCI will fail
|
||||
# bad -> CI will fail
|
||||
var="bad"
|
||||
new=$var
|
||||
```
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue