Skip to content

Commit ab5a3ea

Browse files
committed
Add work-around for missing client links
1 parent d330b24 commit ab5a3ea

File tree

2 files changed

+24
-0
lines changed

2 files changed

+24
-0
lines changed

shared/attributes.asciidoc

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -551,3 +551,22 @@ Legacy definitions
551551
:apm-overview-ref-m: https://www.elastic.co/guide/en/apm/get-started/master
552552
:infra-guide: https://www.elastic.co/guide/en/infrastructure/guide/{branch}
553553
:a-data-source: a data view
554+
555+
//////////
556+
8.x links
557+
The if directives below are required for 8.x docs that are not yet available.
558+
Without these if directives, the links fail and break the build.
559+
//////////
560+
561+
ifdef::8x-missing-links[]
562+
:enterprise-search-python-ref: https://www.elastic.co/guide/en/enterprise-search-clients/python/master
563+
:es-dotnet-client: https://www.elastic.co/guide/en/elasticsearch/client/net-api/master
564+
:es-php-client: https://www.elastic.co/guide/en/elasticsearch/client/php-api/master
565+
:jsclient: https://www.elastic.co/guide/en/elasticsearch/client/javascript-api/master
566+
:es-python-client: https://www.elastic.co/guide/en/elasticsearch/client/python-api/master
567+
:es-ruby-client: https://www.elastic.co/guide/en/elasticsearch/client/ruby-api/master
568+
:enterprise-search-node-ref: https://www.elastic.co/guide/en/enterprise-search-clients/enterprise-search-node/master
569+
:enterprise-search-php-ref: https://www.elastic.co/guide/en/enterprise-search-clients/php/master
570+
:enterprise-search-python-ref: https://www.elastic.co/guide/en/enterprise-search-clients/python/master
571+
:enterprise-search-ruby-ref: https://www.elastic.co/guide/en/enterprise-search-clients/ruby/master
572+
endif::[]

shared/versions/stack/8.x.asciidoc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,3 +72,8 @@ Synthetics
7272
API URLs
7373
////
7474
:api-kibana: https://www.elastic.co/docs/api/doc/kibana/v8
75+
76+
//////////
77+
8x-missing-links can be: true | false
78+
//////////
79+
:8x-missing-links: true

0 commit comments

Comments
 (0)