[Docs] Fix single page :docs:check invocation (#30725)

The docs/README shows how to run the :docs:check goal on a subset of pages,
however using the current example fails. Removing the masking character before
the first wildcard fixes the problem.
This commit is contained in:
Christoph Büscher 2018-05-18 23:33:41 +02:00 committed by GitHub
parent 13c56ae444
commit 994405a768
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -6,7 +6,7 @@ See: https://github.com/elastic/docs
Snippets marked with `// CONSOLE` are automatically annotated with "VIEW IN
CONSOLE" and "COPY AS CURL" in the documentation and are automatically tested
by the command `gradle :docs:check`. To test just the docs from a single page,
use e.g. `gradle :docs:check -Dtests.method="\*rollover*"`.
use e.g. `gradle :docs:check -Dtests.method="*rollover*"`.
By default each `// CONSOLE` snippet runs as its own isolated test. You can
manipulate the test execution in the following ways: