-
Notifications
You must be signed in to change notification settings - Fork 8.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use documentation link service for security links #87409
Conversation
e9a1864
to
b10e3c7
Compare
|
||
constructor(docLinks: DocLinksStart) { | ||
this.esDocBasePath = `${docLinks.ELASTIC_WEBSITE_URL}guide/en/elasticsearch/reference/${docLinks.DOC_LINK_VERSION}/`; | ||
this.apiKeySettings = `${docLinks.links.security.apiKeyServiceSettings}`; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this.apiKeySettings =
${docLinks.links.security.apiKeyServiceSettings}
;
If it's preferrable to remove these definitions and use the doc links service directly in the subsequent functions, I can make that change.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, if you can use the links service directly that would be great, thanks!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actually I think we don't need our own DocumentationLinksService
's anymore. But if it's too much for this PR then I'm fine to keep it as is and we'll remove these services in the follow up.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure, if we do the cleanup in a subsequent PR that works for me!
Pinging @elastic/kibana-docs (Team:Docs) |
@elasticmachine merge upstream |
💚 Build SucceededMetrics [docs]Page load bundle
History
To update your PR or re-run it, just comment with: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changes to license management LGTM.
Summary
This PR updates hard-coded links to security documentation such that they use the documentation link service instead, which is easier to maintain.