diff --git a/docs/adding-new-rtypes.md b/docs/adding-new-rtypes.md index 44214dda2..559dc09e4 100644 --- a/docs/adding-new-rtypes.md +++ b/docs/adding-new-rtypes.md @@ -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 your code conforms to our coding standard: - npm install prettier - node_modules/.bin/prettier --write pkg/js/helpers.js + npm install prettier + 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` diff --git a/docs/spf-optimizer.md b/docs/spf-optimizer.md index 9e45d9d70..9ea6cf202 100644 --- a/docs/spf-optimizer.md +++ b/docs/spf-optimizer.md @@ -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. * 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 When you want to specify SPF settings for a domain, use the -`SPF_BUILD()` function. +`SPF_BUILDER()` function. ``` D("example.tld", REG, DSP, ...