From 982eeeaf2b683a8775f77fb4889872f3a698ddf8 Mon Sep 17 00:00:00 2001 From: DonNateR Date: Wed, 14 Aug 2019 13:33:27 -0500 Subject: [PATCH 1/2] [DOCS] Fix beta tag in Code Docs --- docs/code/index.asciidoc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/code/index.asciidoc b/docs/code/index.asciidoc index 7e7350764793b..0603579589533 100644 --- a/docs/code/index.asciidoc +++ b/docs/code/index.asciidoc @@ -4,7 +4,9 @@ [partintro] -- -beta[] Interaction with source code is pervasive and essential for any technology company. Speed of innovation is limited by how easy it is to search, navigate, and gain insight into your source code. Elastic *Code* provides an easy-to-use code search solution that scales with your organization. *Code* empowers your team to ship awesome products and provide the best services. *Code* offers the following functions: +beta[] + +Interaction with source code is pervasive and essential for any technology company. Speed of innovation is limited by how easy it is to search, navigate, and gain insight into your source code. Elastic *Code* provides an easy-to-use code search solution that scales with your organization. *Code* empowers your team to ship awesome products and provide the best services. *Code* offers the following functions: * Jump to definition and find references for a symbol * Typeahead search for symbol definition, file, and repo From a42260c4c730f45d0090bca5c203ec7cc2b6ac3f Mon Sep 17 00:00:00 2001 From: DonNateR Date: Fri, 13 Sep 2019 14:57:17 -0500 Subject: [PATCH 2/2] Fix TOC issue for renames Code page --- ...rt-first-repo.asciidoc => code-import-first-repo.asciidoc} | 0 docs/code/code-repo-management.asciidoc | 2 +- docs/code/index.asciidoc | 4 ++-- x-pack/legacy/plugins/code/public/lib/documentation_links.ts | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) rename docs/code/{import-first-repo.asciidoc => code-import-first-repo.asciidoc} (100%) 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`,