mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 09:19:04 -04:00
Add client URLs to documentation link service (#114010)
This commit is contained in:
parent
e474e0fc7b
commit
0d176e4d3d
4 changed files with 50 additions and 1 deletions
|
@ -234,5 +234,17 @@ readonly links: {
|
|||
readonly ecs: {
|
||||
readonly guide: string;
|
||||
};
|
||||
readonly clients: {
|
||||
readonly guide: string;
|
||||
readonly goOverview: string;
|
||||
readonly javaIndex: string;
|
||||
readonly jsIntro: string;
|
||||
readonly netGuide: string;
|
||||
readonly perlGuide: string;
|
||||
readonly phpGuide: string;
|
||||
readonly pythonGuide: string;
|
||||
readonly rubyOverview: string;
|
||||
readonly rustGuide: string;
|
||||
};
|
||||
};
|
||||
```
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -470,6 +470,19 @@ export class DocLinksService {
|
|||
ecs: {
|
||||
guide: `${ELASTIC_WEBSITE_URL}guide/en/ecs/current/index.html`,
|
||||
},
|
||||
clients: {
|
||||
/** Changes to these URLs must also be synched in src/plugins/custom_integrations/server/language_clients/index.ts */
|
||||
guide: `${ELASTIC_WEBSITE_URL}guide/en/elasticsearch/client/index.html`,
|
||||
goOverview: `${ELASTIC_WEBSITE_URL}guide/en/elasticsearch/client/go-api/${DOC_LINK_VERSION}/overview.html`,
|
||||
javaIndex: `${ELASTIC_WEBSITE_URL}guide/en/elasticsearch/client/java-api-client/${DOC_LINK_VERSION}/index.html`,
|
||||
jsIntro: `${ELASTIC_WEBSITE_URL}guide/en/elasticsearch/client/javascript-api/${DOC_LINK_VERSION}/introduction.html`,
|
||||
netGuide: `${ELASTIC_WEBSITE_URL}guide/en/elasticsearch/client/net-api/${DOC_LINK_VERSION}/index.html`,
|
||||
perlGuide: `${ELASTIC_WEBSITE_URL}guide/en/elasticsearch/client/perl-api/${DOC_LINK_VERSION}/index.html`,
|
||||
phpGuide: `${ELASTIC_WEBSITE_URL}guide/en/elasticsearch/client/php-api/${DOC_LINK_VERSION}/index.html`,
|
||||
pythonGuide: `${ELASTIC_WEBSITE_URL}guide/en/elasticsearch/client/net-api/${DOC_LINK_VERSION}/index.html`,
|
||||
rubyOverview: `${ELASTIC_WEBSITE_URL}guide/en/elasticsearch/client/ruby-api/${DOC_LINK_VERSION}/ruby_client.html`,
|
||||
rustGuide: `${ELASTIC_WEBSITE_URL}guide/en/elasticsearch/client/rust-api/${DOC_LINK_VERSION}/index.html`,
|
||||
},
|
||||
},
|
||||
});
|
||||
}
|
||||
|
@ -706,5 +719,17 @@ export interface DocLinksStart {
|
|||
readonly ecs: {
|
||||
readonly guide: string;
|
||||
};
|
||||
readonly clients: {
|
||||
readonly guide: string;
|
||||
readonly goOverview: string;
|
||||
readonly javaIndex: string;
|
||||
readonly jsIntro: string;
|
||||
readonly netGuide: string;
|
||||
readonly perlGuide: string;
|
||||
readonly phpGuide: string;
|
||||
readonly pythonGuide: string;
|
||||
readonly rubyOverview: string;
|
||||
readonly rustGuide: string;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
@ -699,6 +699,18 @@ export interface DocLinksStart {
|
|||
readonly ecs: {
|
||||
readonly guide: string;
|
||||
};
|
||||
readonly clients: {
|
||||
readonly guide: string;
|
||||
readonly goOverview: string;
|
||||
readonly javaIndex: string;
|
||||
readonly jsIntro: string;
|
||||
readonly netGuide: string;
|
||||
readonly perlGuide: string;
|
||||
readonly phpGuide: string;
|
||||
readonly pythonGuide: string;
|
||||
readonly rubyOverview: string;
|
||||
readonly rustGuide: string;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue