mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2025-10-03 02:14:25 +08:00
Documentation: Fix typos and formatting in SPF_BUILDING (#435)
* Fix function name * Fix indentation
This commit is contained in:
parent
35f74d9582
commit
12010ba0cd
2 changed files with 6 additions and 4 deletions
|
@ -66,8 +66,10 @@ Please add the function alphabetically with the others. Also, please run
|
||||||
[prettier](https://github.com/prettier/prettier) on the file to ensure
|
[prettier](https://github.com/prettier/prettier) on the file to ensure
|
||||||
your code conforms to our coding standard:
|
your code conforms to our coding standard:
|
||||||
|
|
||||||
npm install prettier
|
npm install prettier
|
||||||
node_modules/.bin/prettier --write pkg/js/helpers.js
|
node_modules/.bin/prettier --write pkg/js/helpers.js
|
||||||
|
|
||||||
|
FYI: If you change `pkg/js/helpers.js`, run `go generate` to update `pkg/js/static.go`.
|
||||||
|
|
||||||
## Step 4: Search for `#rtype_variations`
|
## Step 4: Search for `#rtype_variations`
|
||||||
|
|
||||||
|
|
|
@ -62,7 +62,7 @@ D("example.tld", REG, DSP, ...
|
||||||
);
|
);
|
||||||
```
|
```
|
||||||
|
|
||||||
By using the `SPF_BUILDER` we gain many benefits:
|
By using the `SPF_BUILDER()` we gain many benefits:
|
||||||
|
|
||||||
* Comments can appear next to the element they refer to.
|
* Comments can appear next to the element they refer to.
|
||||||
* Diffs will be shorter and more specific; therefore easier to read.
|
* Diffs will be shorter and more specific; therefore easier to read.
|
||||||
|
@ -71,7 +71,7 @@ By using the `SPF_BUILDER` we gain many benefits:
|
||||||
## Syntax
|
## Syntax
|
||||||
|
|
||||||
When you want to specify SPF settings for a domain, use the
|
When you want to specify SPF settings for a domain, use the
|
||||||
`SPF_BUILD()` function.
|
`SPF_BUILDER()` function.
|
||||||
|
|
||||||
```
|
```
|
||||||
D("example.tld", REG, DSP, ...
|
D("example.tld", REG, DSP, ...
|
||||||
|
|
Loading…
Add table
Reference in a new issue