Skip to content

Commit

Permalink
Use pkg.go.dev for constants reference (#728)
Browse files Browse the repository at this point in the history
This allows us to link to the anchor that takes the user directly to the constants.

Signed-off-by: James Alseth <james@jalseth.me>
  • Loading branch information
jalseth committed Jul 26, 2022
1 parent 0f2537f commit 25abb63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ test_deny_alb_protocol_unspecified {
```

For the full list of supported parsers and their names, please refer to the
constants [defined in the parser package](https://github.com/open-policy-agent/conftest/blob/master/parser/parser.go).
constants [defined in the parser package](https://pkg.go.dev/github.com/open-policy-agent/conftest/parser#pkg-constants).

If you prefer to have your configuration snippets outside of the Rego unit test
(for syntax highlighting, etc.) you can use the `parse_config_file` builtin. It
Expand Down

0 comments on commit 25abb63

Please sign in to comment.