-
Notifications
You must be signed in to change notification settings - Fork 8.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
documentation on how to create new Add Data tutorials. #16257
Conversation
`Add Data` in the Kibana Home application contains a collection of tutorials for setting up data flows in the Elastic stack. | ||
|
||
Each tutorial contains 3 sets of instructions | ||
1. `On Premise` Instructions for setting up a data flow when both Kibana and Elastic Search are running on premise |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
s/Elastic Search/Elasticsearch/
Each tutorial contains 3 sets of instructions | ||
1. `On Premise` Instructions for setting up a data flow when both Kibana and Elastic Search are running on premise | ||
2. `On Premise Elastic Cloud` Instructions for setting up a data flow when Kibana is running on premise but | ||
Elastic Search is running on cloud. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
s/Elastic Search/Elasticsearch/
1. `On Premise` Instructions for setting up a data flow when both Kibana and Elastic Search are running on premise | ||
2. `On Premise Elastic Cloud` Instructions for setting up a data flow when Kibana is running on premise but | ||
Elastic Search is running on cloud. | ||
3. `Elastic Cloud` Instructions for setting up a data flow when both Kibana and Elastic Search are running on cloud. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
s/Elastic Search/Elasticsearch/
3. `Elastic Cloud` Instructions for setting up a data flow when both Kibana and Elastic Search are running on cloud. | ||
|
||
## Creating a new tutorial | ||
1. Create a new folder in the [tutorials directory](https://github.com/elastic/kibana/tree/master/src/core_plugins/kibana/server/tutorials). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit: s/directory/folder/ for consistency
### Markdown | ||
String values can contain limited markdown syntax. | ||
|
||
[Enabled markdown grammers](https://github.com/elastic/kibana/blob/master/src/core_plugins/kibana/public/home/components/tutorial/content.js#L8) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Spelling: should be "grammar".
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Left a few minor inline comments.
Additionally, I'd suggest saying something before the "Create a PR" step about loading up Kibana and previewing the tutorial locally.
`Add Data` in the Kibana Home application contains a collection of tutorials for setting up data flows in the Elastic stack. | ||
|
||
Each tutorial contains 3 sets of instructions | ||
1. `On Premise` Instructions for setting up a data flow when both Kibana and ElasticSearch are running on premise |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
s/ElasticSearch/Elasticsearch/
Each tutorial contains 3 sets of instructions | ||
1. `On Premise` Instructions for setting up a data flow when both Kibana and ElasticSearch are running on premise | ||
2. `On Premise Elastic Cloud` Instructions for setting up a data flow when Kibana is running on premise but | ||
ElasticSearch is running on cloud. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
s/ElasticSearch/Elasticsearch/
1. `On Premise` Instructions for setting up a data flow when both Kibana and ElasticSearch are running on premise | ||
2. `On Premise Elastic Cloud` Instructions for setting up a data flow when Kibana is running on premise but | ||
ElasticSearch is running on cloud. | ||
3. `Elastic Cloud` Instructions for setting up a data flow when both Kibana and ElasticSearch are running on cloud. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
s/ElasticSearch/Elasticsearch/
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM with a few edits.
[[add-data-guide]] | ||
== Add Data guide | ||
|
||
`Add Data` in the Kibana Home application contains a collection of tutorials for setting up data flows in the Elastic stack. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove "a collection of"
'Add Data" in the Kibana Home application contains tutorials for ....
=== Creating a new tutorial | ||
1. Create a new directory in the link:https://github.com/elastic/kibana/tree/master/src/core_plugins/kibana/server/tutorials[tutorials directory]. | ||
2. In the new directory, create a file called `index.js` that exports a function. | ||
The function must return a Javascript object that conforms to the link:https://github.com/elastic/kibana/blob/master/src/core_plugins/kibana/common/tutorials/tutorial_schema.js[tutorial schema]. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Javascript -> JavaScript (capital S)
|
||
[float] | ||
==== Markdown | ||
String values can contain limited markdown syntax. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
markdown -> Markdown (capital M)
==== Markdown | ||
String values can contain limited markdown syntax. | ||
|
||
link:https://github.com/elastic/kibana/blob/master/src/core_plugins/kibana/public/home/components/tutorial/content.js#L8[Enabled markdown grammars] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
markdown -> Markdown
@@ -0,0 +1,35 @@ | |||
[[add-data-guide]] | |||
== Add Data guide |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add Data Guide (capital G)
|
||
`Add Data` in the Kibana Home application contains a collection of tutorials for setting up data flows in the Elastic stack. | ||
|
||
Each tutorial contains 3 sets of instructions |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Each tutorial contains three
sets of instructions:
|
||
Each tutorial contains 3 sets of instructions | ||
|
||
1. `On Premise` Instructions for setting up a data flow when both Kibana and Elasticsearch are running on premise |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Change this to a bulleted list:
- On Premise. Set up a data flow when both Kibana and Elasticsearch are running on premise.
- On Premise Elastic Cloud. Set up a data flow when Kibana is running on premise and Elasticsearch is running on Elastic Cloud.
- Elastic Cloud. Set up a data flow when both Kibana and Elasticsearch are running on Elastic Cloud.
|
||
[float] | ||
==== Variables | ||
String values can contain variables that get substituted when rendered. Variables are specified by `{}`. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
String values can contain variables that are substituted
when rendered.
[float] | ||
==== Variables | ||
String values can contain variables that get substituted when rendered. Variables are specified by `{}`. | ||
For example: `{config.docs.version}` would get rendered as `6.2` when running the tutorial in Kibana 6.2. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Change : to , and "would get" to "is"
For example,``{config.docs.version}
is
rendered as ...
* tutorial docs * fixes from ycombinator review * ElasticSearch -> Elasticsearch * move out of style guide and into README under server/tutorials * move to asciidocs * add new line so list is rendered correctly * changes from gchaps review
* tutorial docs * fixes from ycombinator review * ElasticSearch -> Elasticsearch * move out of style guide and into README under server/tutorials * move to asciidocs * add new line so list is rendered correctly * changes from gchaps review
fixes #16269
documentation on how to create new
Add Data
tutorials.