diff --git a/docs/code/import-first-repo.asciidoc b/docs/code/code-import-first-repo.asciidoc similarity index 100% rename from docs/code/import-first-repo.asciidoc rename to docs/code/code-import-first-repo.asciidoc diff --git a/docs/code/code-repo-management.asciidoc b/docs/code/code-repo-management.asciidoc index b8e5fe92dd584..831bae3f8a2d3 100644 --- a/docs/code/code-repo-management.asciidoc +++ b/docs/code/code-repo-management.asciidoc @@ -7,7 +7,7 @@ image::images/code-repo-management.png[] [float] ==== Add and delete a repo -The <> page provides step-by-step instructions for adding a GitHub repo to *Code*. You can fine tune the hostname of the git clone URL in your `kibana.yml` file. +The <> page provides step-by-step instructions for adding a GitHub repo to *Code*. You can fine tune the hostname of the git clone URL in your `kibana.yml` file. For security reasons, Code allows only a few trusted hostnames, such as github.com, by default. You can add an SSH key to {kib} to clone private repos. diff --git a/docs/code/index.asciidoc b/docs/code/index.asciidoc index 44b3c363544e2..799b356cb42c3 100644 --- a/docs/code/index.asciidoc +++ b/docs/code/index.asciidoc @@ -15,7 +15,7 @@ Elastic *Code* provides an easy-to-use code search solution that scales with you * Symbol table * Full-text search with repo and language filters -<> with *Code* by importing your first repo. +<> with *Code* by importing your first repo. -- -include::import-first-repo.asciidoc[] +include::code-import-first-repo.asciidoc[] diff --git a/x-pack/legacy/plugins/code/public/lib/documentation_links.ts b/x-pack/legacy/plugins/code/public/lib/documentation_links.ts index 74286a72479cd..32561b0d19833 100644 --- a/x-pack/legacy/plugins/code/public/lib/documentation_links.ts +++ b/x-pack/legacy/plugins/code/public/lib/documentation_links.ts @@ -12,7 +12,7 @@ export const documentationLinks = { codeIntelligence: `${npStart.core.docLinks.ELASTIC_WEBSITE_URL}guide/en/kibana/${npStart.core.docLinks.DOC_LINK_VERSION}/code.html`, gitFormat: `${npStart.core.docLinks.ELASTIC_WEBSITE_URL}guide/en/kibana/${npStart.core.docLinks.DOC_LINK_VERSION}/code.html`, codeInstallLangServer: `${npStart.core.docLinks.ELASTIC_WEBSITE_URL}guide/en/kibana/${npStart.core.docLinks.DOC_LINK_VERSION}/code-install-lang-server.html`, - codeGettingStarted: `${npStart.core.docLinks.ELASTIC_WEBSITE_URL}guide/en/kibana/${npStart.core.docLinks.DOC_LINK_VERSION}/import-first-repo.html`, + codeGettingStarted: `${npStart.core.docLinks.ELASTIC_WEBSITE_URL}guide/en/kibana/${npStart.core.docLinks.DOC_LINK_VERSION}/code-import-first-repo.html`, codeRepoManagement: `${npStart.core.docLinks.ELASTIC_WEBSITE_URL}guide/en/kibana/${npStart.core.docLinks.DOC_LINK_VERSION}/code-repo-management.html`, codeSearch: `${npStart.core.docLinks.ELASTIC_WEBSITE_URL}guide/en/kibana/${npStart.core.docLinks.DOC_LINK_VERSION}/code-search.html`, codeOtherFeatures: `${npStart.core.docLinks.ELASTIC_WEBSITE_URL}guide/en/kibana/${npStart.core.docLinks.DOC_LINK_VERSION}/code-basic-nav.html`,