Skip to content

Commit 1b1d03d

Browse files
committed
Explain key phrase syntax in new license rule guide
Signed-off-by: Mike Rombout <mike.rombout@elastisys.com>
1 parent 69c6ab6 commit 1b1d03d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

docs/source/how-to-guides/add_new_license_detection_rule.rst

+4
Original file line numberDiff line numberDiff line change
@@ -62,3 +62,7 @@ More (advanced) rules options:
6262
- Each rules needs have one flag such as is_license_notice. See the
6363
``src/licensedcode/models.py`` directory for a list of all possible values and
6464
other options.
65+
66+
- you can specify key phrases by surrounding one or more words between the `{{`
67+
and `}}` tags. Key phrases are words that **must** be matched/present in order
68+
for a RULE to be considered a match.

0 commit comments

Comments
 (0)