Skip to content

Commit e26c566

Browse files
authored
Omit API URLS from Kibana doc link checks (#3210)
1 parent 7f55d28 commit e26c566

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build_docs.pl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -382,7 +382,7 @@ sub check_kibana_links {
382382
$path =~ s!\$\{(?:baseUrl|ELASTIC_WEBSITE_URL)\}guide/!!;
383383
# We don't want to check any links to www.elastic.co that aren't
384384
# part of the docs.
385-
return "" if $path =~ m/\$\{(?:baseUrl|ELASTIC_WEBSITE_URL|ELASTIC_GITHUB)\}.*/;
385+
return "" if $path =~ m/\$\{(?:baseUrl|ELASTIC_WEBSITE_URL|ELASTIC_GITHUB|API_DOCS|ELASTICSEARCH_APIS|ELASTICSEARCH_SERVERLESS_APIS|KIBANA_APIS|KIBANA_SERVERLESS_APIS)\}.*/;
386386
# Otherwise, return the link to check
387387
return ( split /#/, $path );
388388
}

0 commit comments

Comments
 (0)