diff --git a/docs/code/code-getting-started.asciidoc b/docs/code/code-import-first-repo.asciidoc similarity index 95% rename from docs/code/code-getting-started.asciidoc rename to docs/code/code-import-first-repo.asciidoc index e5a2f98abf876..0ce3b94322f95 100644 --- a/docs/code/code-getting-started.asciidoc +++ b/docs/code/code-import-first-repo.asciidoc @@ -1,5 +1,5 @@ -[[code-getting-started]] -== Getting Started with Code +[[code-import-first-repo]] +== Import your first repo The easiest way to get started with *Code* is to import a real-world repository. diff --git a/docs/code/code-repo-management.asciidoc b/docs/code/code-repo-management.asciidoc index b408a74657dcb..e7af158d1ce49 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 <> 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 d29ac440d6e23..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::code-getting-started.asciidoc[] +include::code-import-first-repo.asciidoc[] diff --git a/x-pack/plugins/code/public/lib/documentation_links.ts b/x-pack/plugins/code/public/lib/documentation_links.ts index 53da0b46518b9..30cf273746901 100644 --- a/x-pack/plugins/code/public/lib/documentation_links.ts +++ b/x-pack/plugins/code/public/lib/documentation_links.ts @@ -12,7 +12,7 @@ export const documentationLinks = { codeIntelligence: `${ELASTIC_WEBSITE_URL}guide/en/kibana/${DOC_LINK_VERSION}/code.html`, gitFormat: `${ELASTIC_WEBSITE_URL}guide/en/kibana/${DOC_LINK_VERSION}/code.html`, codeInstallLangServer: `${ELASTIC_WEBSITE_URL}guide/en/kibana/${DOC_LINK_VERSION}/code-install-lang-server.html`, - codeGettingStarted: `${ELASTIC_WEBSITE_URL}guide/en/kibana/${DOC_LINK_VERSION}/code-getting-started.html`, + codeGettingStarted: `${ELASTIC_WEBSITE_URL}guide/en/kibana/${DOC_LINK_VERSION}/code-import-first-repo.html`, codeRepoManagement: `${ELASTIC_WEBSITE_URL}guide/en/kibana/${DOC_LINK_VERSION}/code-repo-management.html`, codeSearch: `${ELASTIC_WEBSITE_URL}guide/en/kibana/${DOC_LINK_VERSION}/code-search.html`, codeOtherFeatures: `${ELASTIC_WEBSITE_URL}guide/en/kibana/${DOC_LINK_VERSION}/code-basic-nav.html`,