Update link to match patterns documentation

This commit is contained in:
Fernando Ramos 2024-07-21 21:23:43 +02:00
parent a1842e0226
commit d65489da91
4 changed files with 6 additions and 5 deletions

View File

@ -31,7 +31,7 @@ patterns. The link:settings{outfilesuffix}[settings documentation] marks such
settings with "This setting supports URL patterns.
The syntax is based on Chromium's
https://developer.chrome.com/docs/extensions/mv3/match_patterns/[URL pattern syntax].
https://developer.chrome.com/docs/extensions/develop/concepts/match-patterns/[URL pattern syntax].
As an extension, the scheme and path can be left off as a short-hand syntax, so
`example.com` is equivalent to `*://example.com/*`.

View File

@ -4874,6 +4874,6 @@ See the setting's valid values for more information on allowed values.
|Url|A URL as a string.
|UrlPattern|A match pattern for a URL.
See https://developer.chrome.com/apps/match_patterns for the allowed syntax.
See https://developer.chrome.com/docs/extensions/develop/concepts/match-patterns for the allowed syntax.
|VerticalPosition|The position of the download bar.
|==============

View File

@ -1984,8 +1984,9 @@ class UrlPattern(BaseType):
"""A match pattern for a URL.
See https://developer.chrome.com/apps/match_patterns for the allowed
syntax.
See
https://developer.chrome.com/docs/extensions/develop/concepts/match-patterns
for the allowed syntax.
"""
def to_py(

View File

@ -5,7 +5,7 @@
"""A Chromium-like URL matching pattern.
See:
https://developer.chrome.com/apps/match_patterns
https://developer.chrome.com/docs/extensions/develop/concepts/match-patterns
https://cs.chromium.org/chromium/src/extensions/common/url_pattern.cc
https://cs.chromium.org/chromium/src/extensions/common/url_pattern.h