Skip to content

Commit

Permalink
Add work-around for missing client links
Browse files Browse the repository at this point in the history
  • Loading branch information
lcawl committed Oct 18, 2024
1 parent d330b24 commit ab5a3ea
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
19 changes: 19 additions & 0 deletions shared/attributes.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -551,3 +551,22 @@ Legacy definitions
:apm-overview-ref-m: https://www.elastic.co/guide/en/apm/get-started/master
:infra-guide: https://www.elastic.co/guide/en/infrastructure/guide/{branch}
:a-data-source: a data view

//////////
8.x links
The if directives below are required for 8.x docs that are not yet available.
Without these if directives, the links fail and break the build.
//////////

ifdef::8x-missing-links[]
:enterprise-search-python-ref: https://www.elastic.co/guide/en/enterprise-search-clients/python/master
:es-dotnet-client: https://www.elastic.co/guide/en/elasticsearch/client/net-api/master
:es-php-client: https://www.elastic.co/guide/en/elasticsearch/client/php-api/master
:jsclient: https://www.elastic.co/guide/en/elasticsearch/client/javascript-api/master
:es-python-client: https://www.elastic.co/guide/en/elasticsearch/client/python-api/master
:es-ruby-client: https://www.elastic.co/guide/en/elasticsearch/client/ruby-api/master
:enterprise-search-node-ref: https://www.elastic.co/guide/en/enterprise-search-clients/enterprise-search-node/master
:enterprise-search-php-ref: https://www.elastic.co/guide/en/enterprise-search-clients/php/master
:enterprise-search-python-ref: https://www.elastic.co/guide/en/enterprise-search-clients/python/master
:enterprise-search-ruby-ref: https://www.elastic.co/guide/en/enterprise-search-clients/ruby/master
endif::[]
5 changes: 5 additions & 0 deletions shared/versions/stack/8.x.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -72,3 +72,8 @@ Synthetics
API URLs
////
:api-kibana: https://www.elastic.co/docs/api/doc/kibana/v8

//////////
8x-missing-links can be: true | false
//////////
:8x-missing-links: true

0 comments on commit ab5a3ea

Please sign in to comment.