docs: add extra indentation to the list in script README
MkDocs has some odd MD parsing going on, and lists just need to be this bit deeper...
This commit is contained in:
parent
d83d721c18
commit
772d69ac73
1 changed files with 4 additions and 4 deletions
|
|
@ -18,9 +18,9 @@ Look at `example.sh` for an example shell script. You can rename and copy the fi
|
|||
When creating a script, please make sure
|
||||
|
||||
- ...its filename ends with `.sh`.
|
||||
- This follows convention for (especially bash) shell scripts.
|
||||
- `autorun.sh` only executes files that match `*.sh`.
|
||||
- This follows convention for (especially bash) shell scripts.
|
||||
- `autorun.sh` only executes files that match `*.sh`.
|
||||
- ...it starts with a [shebang](<https://en.wikipedia.org/wiki/Shebang_(Unix)>) like `#!/usr/bin/env bash`.
|
||||
- This ensures the script is ran with the correct interpreter / shell.
|
||||
- This ensures the script is ran with the correct interpreter / shell.
|
||||
- ...it contains the command `set -oue pipefail` near the start.
|
||||
- This will make the image build fail if your script fails. If you do not care if your script works or not, you can omit this line.
|
||||
- This will make the image build fail if your script fails. If you do not care if your script works or not, you can omit this line.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue