From 84a56d580ae7cacff68afd4a27e846bff982ddc9 Mon Sep 17 00:00:00 2001 From: Nate Archer Date: Fri, 13 Sep 2019 13:33:09 -0500 Subject: [PATCH] [DOCS][CODE]: Rename "Getting started with Code" to "Import your first repo" (#44924) (#45471) * [DOCS] Fix beta tag in Code Docs * [DOCS][CODE]: Issue #44924 - Rename Get started to Import your first repo --- docs/code/code-repo-management.asciidoc | 2 +- ...de-getting-started.asciidoc => import-first-repo.asciidoc} | 4 ++-- docs/code/index.asciidoc | 4 ++-- x-pack/legacy/plugins/code/public/lib/documentation_links.ts | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) rename docs/code/{code-getting-started.asciidoc => import-first-repo.asciidoc} (95%) diff --git a/docs/code/code-repo-management.asciidoc b/docs/code/code-repo-management.asciidoc index e3ebd809f480..b8e5fe92dd58 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/code-getting-started.asciidoc b/docs/code/import-first-repo.asciidoc similarity index 95% rename from docs/code/code-getting-started.asciidoc rename to docs/code/import-first-repo.asciidoc index e5a2f98abf87..0ce3b94322f9 100644 --- a/docs/code/code-getting-started.asciidoc +++ b/docs/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/index.asciidoc b/docs/code/index.asciidoc index d29ac440d6e2..44b3c363544e 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::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 f64788b1518d..74286a72479c 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}/code-getting-started.html`, + codeGettingStarted: `${npStart.core.docLinks.ELASTIC_WEBSITE_URL}guide/en/kibana/${npStart.core.docLinks.DOC_LINK_VERSION}/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`,