Skip to content

Commit

Permalink
Fix broken references to public doc_links (#3133)
Browse files Browse the repository at this point in the history
* Fix broken references to public doc_links

* Include new location for `get_doc_links.ts`

* Continue to support 7.13

* Use old paths in tests (new ones are too long)

* Include future location of doc-links packages

* Update old test references
  • Loading branch information
gsoldevila authored Dec 4, 2024
1 parent 5acc8f5 commit 3decf4d
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions build_docs.pl
Original file line number Diff line number Diff line change
Expand Up @@ -413,6 +413,9 @@ sub check_kibana_links {
say " Branch: $branch, Version: $version";
my $links_file;
my $source = eval {
$links_file = "src/platform/packages/shared/kbn-doc-links/src/get_doc_links.ts";
$repo->show_file( $link_check_name, $branch, $links_file );
} || eval {
$links_file = "packages/kbn-doc-links/src/get_doc_links.ts";
$repo->show_file( $link_check_name, $branch, $links_file );
} || eval {
Expand All @@ -427,6 +430,12 @@ sub check_kibana_links {
} || eval {
$links_file = $legacy_path . ".ts";
$repo->show_file( $link_check_name, $branch, $links_file );
} || eval {
$links_file = "src/core/packages/doc-links/core-doc-links-browser-internal/src/doc_links_service.ts";
$repo->show_file( $link_check_name, $branch, $links_file );
} || eval {
$links_file = "packages/core/doc-links/core-doc-links-browser-internal/src/doc_links_service.ts";
$repo->show_file( $link_check_name, $branch, $links_file );
} || eval {
$links_file = "src/core/public/doc_links/doc_links_service.ts";
$repo->show_file( $link_check_name, $branch, $links_file );
Expand Down

0 comments on commit 3decf4d

Please sign in to comment.