forked from elastic/kibana
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[DOCS][CODE]: Fix TOC issue for renamed Code page (elastic#45700) (el…
…astic#45719) * [DOCS] Fix beta tag in Code Docs * Fix TOC issue for renames Code page
- Loading branch information
Showing
4 changed files
with
52 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
[[code-import-first-repo]] | ||
== Import your first repo | ||
|
||
The easiest way to get started with *Code* is to import a real-world repository. | ||
|
||
[float] | ||
==== Before you begin | ||
You must have a {kib} instance up and running. | ||
|
||
If you are in an environment where you have multiple {kib} instances in a cluster, see the <<code-multiple-kibana-instances-config, config instructions for multiple Kibana instances>>. | ||
|
||
[float] | ||
==== Enable Code app | ||
While in beta, you can turn on *Code* by adding the following line to `kibana.yaml`: | ||
|
||
[source,yaml] | ||
---- | ||
xpack.code.ui.enabled: true | ||
---- | ||
|
||
[float] | ||
==== Import your first repository | ||
. In {Kib}, navigate to *Code*. | ||
|
||
. In the *Repository URL* field, paste the following GitHub clone URL: | ||
+ | ||
[source,bash] | ||
---- | ||
https://github.com/Microsoft/TypeScript-Node-Starter | ||
---- | ||
|
||
`https` is recommend for cloning git repositories. | ||
|
||
. Click *Import*. | ||
+ | ||
A new item in the list displays the cloning and indexing progress of the `TypeScript-Node-Starter` repo. | ||
+ | ||
[role="screenshot"] | ||
image::images/code-import-repo.png[] | ||
|
||
. After the indexing is complete, navigate to the repo by clicking its name in the list. | ||
+ | ||
[role="screenshot"] | ||
image::images/code-starter-root.png[] | ||
+ | ||
Congratulations! You just imported your first repo into *Code*. | ||
|
||
include::code-repo-management.asciidoc[] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters