File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -171,18 +171,20 @@ This returns code 0 (success) if validation is ok.
171171 All values in dynaconf are parsed using toml format, TOML tries to be smart
172172 and infer the type of the settings variables, some variables will be automatically
173173 converted to integer:
174-
174+
175+ ```
175176 FOO = "0x..." # hexadecimal
176177 FOO = "0o..." # Octal
177178 FOO = "0b..." # Binary
179+ ```
178180
179- All cases are on toml specs https://github.com/toml-lang/toml/blob/master/toml.abnf
181+ All cases are on toml specs https://github.com/toml-lang/toml/blob/master/toml.abnf
180182
181- If you need to force a specific type casting there are 2 options.
183+ If you need to force a specific type casting there are 2 options.
182184
183- 1 . Use double quoted for strings ex: `FOO = "'0x...'" will be string.
184- 2 . Specify the type using ` @ ` ex: FOO = "@str 0x..."
185- (available converters are ` @int, @float, @bool, @json ` )
185+ 1. Use double quoted for strings ex: `FOO = "'0x...'" will be string.
186+ 2. Specify the type using `@` ex: FOO = "@str 0x..."
187+ (available converters are `@int, @float, @bool, @json`)
186188
187189## Selective Validation
188190
Original file line number Diff line number Diff line change 11[build ]
2- # assuming the Zola site is in a docs folder, if it isn't you don't need
3- # to have a `base` variable but you do need the `publish` and `command`
2+ # if commit is not tagged don't build
3+ ignore = " git describe --exact-match && exit 1 || exit 0 "
44publish = " site"
55command = " mkdocs build --clean"
66
@@ -13,4 +13,5 @@ command = "mkdocs build --clean"
1313# `$DEPLOY_PRIME_URL`.
1414
1515[context .deploy-preview ]
16+ ignore = " git diff --quiet $CACHED_COMMIT_REF $COMMIT_REF"
1617command = " mkdocs build --clean"
You can’t perform that action at this time.
0 commit comments