[7.x] Add client URLs to documentation link service (#114047)
This commit is contained in:
parent
1916ab4d43
commit
1e8f59a88c
|
@ -237,5 +237,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
|
@ -478,6 +478,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/current/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/current/index.html`,
|
||||
},
|
||||
},
|
||||
});
|
||||
}
|
||||
|
@ -717,5 +730,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;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
@ -707,6 +707,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…
Reference in a new issue