From 1da05aa6174d61edfa17f870ad30b7bc9e4ea23a Mon Sep 17 00:00:00 2001 From: Julien Gonzalez Date: Wed, 29 Jun 2022 07:09:28 +0100 Subject: [PATCH] Update links to cucumber expressions documentation (#2068) * docs: direct link to cucumber expressions documentation * docs: fix link to cucumber expressions documentation --- docs/custom_snippet_syntaxes.md | 2 +- docs/support_files/step_definitions.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/custom_snippet_syntaxes.md b/docs/custom_snippet_syntaxes.md index ce5d1e137..2b7a66b07 100644 --- a/docs/custom_snippet_syntaxes.md +++ b/docs/custom_snippet_syntaxes.md @@ -7,7 +7,7 @@ * An object with the following keys: * `comment`: a comment to be placed at the top of the function * `functionName`: the function name to use for the snippet - * `generatedExpressions`: from [cucumber-expressions](https://github.com/cucumber/cucumber-expressions-javascript). In most cases will be an array of length 1. But there may be multiple. If multiple, please follow the behavior of the javascript syntax in presenting each of them. See the "multiple patterns" test in this [file](/src/formatter/step_definition_snippet_builder/javascript_snippet_syntax_spec.ts). + * `generatedExpressions`: from [cucumber-expressions](https://github.com/cucumber/cucumber-expressions#readme). In most cases will be an array of length 1. But there may be multiple. If multiple, please follow the behavior of the javascript syntax in presenting each of them. See the "multiple patterns" test in this [file](/src/formatter/step_definition_snippet_builder/javascript_snippet_syntax_spec.ts). * `stepParameterNames`: names for the doc string or data table parameter when applicable. Theses should be appended to the parameter names of each generated expressions. * Please add the keywords `cucumber` and `snippets` to your package, so it can easily be found by searching [npm](https://www.npmjs.com/search?q=cucumber+snippets). * Please open an issue if you would like more information. diff --git a/docs/support_files/step_definitions.md b/docs/support_files/step_definitions.md index b62e2da76..b14e3ed7a 100644 --- a/docs/support_files/step_definitions.md +++ b/docs/support_files/step_definitions.md @@ -9,7 +9,7 @@ Cucumber supports two types of expressions: ## Cucumber expressions -[Full docs.](https://cucumber.io/docs/cucumber/cucumber-expressions/) +[Full docs.](https://github.com/cucumber/cucumber-expressions#readme) Gherkin: ```gherkin